[libmultipath] forgoten fd init in struct.c:alloc_path()
authorChristophe Varoqui <root@xa-s05.(none)>
Fri, 30 Sep 2005 12:24:35 +0000 (14:24 +0200)
committerChristophe Varoqui <root@xa-s05.(none)>
Fri, 30 Sep 2005 12:24:35 +0000 (14:24 +0200)
libmultipath/structs.c

index 1c70423..1a8ae3f 100644 (file)
@@ -20,6 +20,7 @@ alloc_path (void)
                pp->sg_id.channel = -1;
                pp->sg_id.scsi_id = -1;
                pp->sg_id.lun = -1;
+               pp->fd = -1;
        }
        return pp;
 }