]> sourceware.org Git - lvm2.git/commitdiff
Fix uninitialised lv_count in vgdisplay -c
authorAlasdair Kergon <agk@redhat.com>
Mon, 1 Dec 2008 17:38:35 +0000 (17:38 +0000)
committerAlasdair Kergon <agk@redhat.com>
Mon, 1 Dec 2008 17:38:35 +0000 (17:38 +0000)
WHATS_NEW
lib/display/display.c

index 459533a948bc179d29f03e0009ff1e15c63548e1..94c887e4847bbd2d8a53279a5451398701f57efc 100644 (file)
--- 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.
index aa88ca63af3ef1ba53b8e1006d6dadca862b75ab..8a672f386f785be5cc40569044022e35bbcfd392 100644 (file)
@@ -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)));
This page took 0.038756 seconds and 5 git commands to generate.