summaryrefslogtreecommitdiffstats
path: root/tools/vgmerge.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2002-12-19 23:25:55 +0000
committerAlasdair Kergon <agk@redhat.com>2002-12-19 23:25:55 +0000
commit8ef2b021edcdec38f160675349c4797335f7a264 (patch)
tree9abf06514583ded09112a98cb066879f557bee87 /tools/vgmerge.c
parent4c64ed4ced7dcd3a98a63da1cd3a6f2f1f2d1701 (diff)
downloadlvm2-8ef2b021edcdec38f160675349c4797335f7a264.tar.gz
lvm2-8ef2b021edcdec38f160675349c4797335f7a264.tar.xz
lvm2-8ef2b021edcdec38f160675349c4797335f7a264.zip
Default stripesize 64k & config file setting for it;
Clear many compiler warnings (i386) & associated bugs - hopefully without introducing too many new bugs:-) (Same exercise required for other archs.) Default compilation has optimisation - or else use ./configure --enable-debug
Diffstat (limited to 'tools/vgmerge.c')
-rw-r--r--tools/vgmerge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/vgmerge.c b/tools/vgmerge.c
index 6a705658..959edc66 100644
--- a/tools/vgmerge.c
+++ b/tools/vgmerge.c
@@ -20,8 +20,8 @@
#include "tools.h"
-int vgmerge_single(struct cmd_context *cmd, const char *vg_name_to,
- const char *vg_name_from)
+static int _vgmerge_single(struct cmd_context *cmd, const char *vg_name_to,
+ const char *vg_name_from)
{
struct volume_group *vg_to, *vg_from;
struct list *lvh1, *lvh2;
@@ -202,7 +202,7 @@ int vgmerge(struct cmd_context *cmd, int argc, char **argv)
argv++;
for (; opt < argc; opt++) {
- ret = vgmerge_single(cmd, vg_name_to, argv[opt]);
+ ret = _vgmerge_single(cmd, vg_name_to, argv[opt]);
if (ret > ret_max)
ret_max = ret;
}