[lvm-devel] LVM2/tools vgchange.c
wysochanski at sourceware.org
wysochanski at sourceware.org
Mon Jun 28 21:35:01 UTC 2010
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2010-06-28 21:35:00
Modified files:
tools : vgchange.c
Log message:
Fix compile warning in vgchange.c regarding mda_copies initialization.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgchange.c.diff?cvsroot=lvm2&r1=1.106&r2=1.107
--- LVM2/tools/vgchange.c 2010/06/28 20:37:37 1.106
+++ LVM2/tools/vgchange.c 2010/06/28 21:35:00 1.107
@@ -528,7 +528,7 @@
static int _vgchange_metadata_copies(struct cmd_context *cmd,
struct volume_group *vg)
{
- uint32_t mda_copies;
+ uint32_t mda_copies = DEFAULT_VGMETADATACOPIES;
if (arg_count(cmd, vgmetadatacopies_ARG))
mda_copies = arg_uint_value(cmd, vgmetadatacopies_ARG,
More information about the lvm-devel
mailing list