LVM2/lib/metadata metadata.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-10-25 13:35:13
Modified files:
lib/metadata : metadata.c
Log message:
Fix constness warning for _vg_read_by_vgid() uuid usage
lib/metadata/metadata.c +1 -1
@@ -3154,7 +3154,7 @@ lvid = (const union lvid *) lvid_s;log_very_verbose ("Finding volume group for uuid %s" , lvid_s); -if (!(vg =_vg_read_by_vgid (cmd, (char *)lvid->id[0 ].uuid, precommitted))) { +if (!(vg =_vg_read_by_vgid (cmd, (const char *)lvid->id[0 ].uuid, precommitted))) {log_error ("Volume group for uuid not found: %s" , lvid_s);return NULL ; }