From 1eabbe1ad77572aabf3ab0d9d131f6dd307676bc Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Thu, 11 Oct 2001 15:09:31 +0000 Subject: [PATCH] o if contained &= instad of & --- lib/format1/import-export.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/format1/import-export.c b/lib/format1/import-export.c index a87dd30ea..2be0547ef 100644 --- a/lib/format1/import-export.c +++ b/lib/format1/import-export.c @@ -222,9 +222,8 @@ int export_vg(struct vg_disk *vgd, struct volume_group *vg) { memset(vgd, 0, sizeof(*vgd)); memcpy(vgd->vg_uuid, vg->id.uuid, ID_LEN); - //vgd->vg_number = ??; - if (vg->status &= LVM_READ) + if (vg->status & LVM_READ) vgd->vg_access |= VG_READ; if (vg->status & LVM_WRITE)