From 398c218b036cc6a72c39a2bcef1f0a11af76f478 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Wed, 10 Oct 2001 13:33:20 +0000 Subject: [PATCH] o zero all of uuid --- lib/format1/import-export.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/format1/import-export.c b/lib/format1/import-export.c index 08afbf9da..aab026161 100644 --- a/lib/format1/import-export.c +++ b/lib/format1/import-export.c @@ -507,6 +507,7 @@ int export_uuids(struct disk_list *dl, struct volume_group *vg) return 0; } + memset(&ul->uuid, 0, NAME_LEN); memcpy(&ul->uuid, &pvl->pv.id.uuid, ID_LEN); ul->uuid[ID_LEN] = '\0';