diff --git a/WHATS_NEW b/WHATS_NEW index 459533a94..94c887e48 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -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. diff --git a/lib/display/display.c b/lib/display/display.c index aa88ca63a..8a672f386 100644 --- a/lib/display/display.c +++ b/lib/display/display.c @@ -656,7 +656,7 @@ void vgdisplay_full(const struct volume_group *vg) 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)));