Skip to contentSkip to conversation

LVM2 ./WHATS_NEW tools/lvconvert.c

PATCH [email protected] 1 participant 1 message Aug 10, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2007-08-10 13:33:49

Modified files:
. : WHATS_NEW
tools : lvconvert.c

Log message:
Fix "lvconvert -s" from always failing with argument error message. Patch by Jun'ichi Nomura <[email protected]>.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.680&r2=1.681
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvconvert.c.diff?cvsroot=lvm2&r1=1.32&r2=1.33

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.28 -
 ================================
+  Fix "lvconvert -s" from always failing with argument error message.
   Add more cluster info to lvmdump
   Add const attributes where possible, first cut.
   Add support for renaming mirrored LVs.
tools/lvconvert.c +1 -1
@@ -101,7 +101,7 @@
 static int _read_params(struct lvconvert_params *lp, struct cmd_context *cmd,
 			int argc, char **argv)
 {
-	int count;
+	int count = 0;
 	int region_size;
 	int pagesize = lvm_getpagesize();