1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix uninitialised lv_count in vgdisplay -c

This commit is contained in:
Alasdair Kergon 2008-12-01 17:38:35 +00:00
parent 615de1b59b
commit 89ef434fe0
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View 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)));