This is the mail archive of the
lvm2-cvs@sourceware.org
mailing list for the LVM2 project.
LVM2/tools vgchange.c
- From: wysochanski at sourceware dot org
- To: lvm-devel at redhat dot com, lvm2-cvs at sourceware dot org
- Date: 28 Jun 2010 21:35:01 -0000
- Subject: LVM2/tools vgchange.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski@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,