LVM2/lib/format1 import-export.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-11-30 22:57:35
Modified files:
lib/format1 : import-export.c
Log message:
Remove unneeded test for NULL Remove check for system_id (it is defined as int8_t[], so cannot be NULL).
lib/format1/import-export.c +1 -1
@@ -185,7 +185,7 @@ }/* Generate system_id if PV is in VG */ -if (!pvd->system_id || !*pvd->system_id) +if (!pvd->system_id[0 ])if (!_system_id (cmd, (char *)pvd->system_id,"" )) return_0;