Skip to contentSkip to conversation

LVM2 lib/display/display.c ./WHATS_NEW

PATCH [email protected] 1 participant 1 message Dec 1, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2008-12-01 17:38:35

Modified files:
lib/display : display.c
. : WHATS_NEW

Log message:
Fix uninitialised lv_count in vgdisplay -c

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/display/display.c.diff?cvsroot=lvm2&r1=1.94&r2=1.95
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1001&r2=1.1002

lib/display/display.c +1 -1
@@ -656,7 +656,7 @@
 void vgdisplay_colons(const struct volume_group *vg)
 {
 	uint32_t active_pvs;
-	uint32_t lv_count;
+	uint32_t lv_count = 0;
 	struct lv_list *lvl;
 	const char *access_str;
 	char uuid[64] __attribute((aligned(8)));
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.44 - 
 ====================================
+  Fix uninitialised lv_count in vgdisplay -c.
   Don't skip updating pvid hash when lvmcache_info struct got swapped.
   Add tinfo to termcap search path for pld-linux.
   Fix startup race in clvmd.