summaryrefslogtreecommitdiffstats
path: root/tools/vgmerge.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2006-05-11 17:58:58 +0000
committerAlasdair Kergon <agk@redhat.com>2006-05-11 17:58:58 +0000
commit898e6f8e419c6d0a86d1a0fd12073fed05f6319c (patch)
treee288c49555a84a19f5db7798bfffaed38fb5eaca /tools/vgmerge.c
parenta54b98e5efc84265c1eb3e1b4165e8863b52f645 (diff)
downloadlvm2-898e6f8e419c6d0a86d1a0fd12073fed05f6319c.tar.gz
lvm2-898e6f8e419c6d0a86d1a0fd12073fed05f6319c.tar.xz
lvm2-898e6f8e419c6d0a86d1a0fd12073fed05f6319c.zip
Add mirror_library description to example.conf.
More compile-time cleanup.
Diffstat (limited to 'tools/vgmerge.c')
-rw-r--r--tools/vgmerge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/vgmerge.c b/tools/vgmerge.c
index 4402df37..2331bb98 100644
--- a/tools/vgmerge.c
+++ b/tools/vgmerge.c
@@ -125,7 +125,7 @@ static int _vgmerge_single(struct cmd_context *cmd, const char *vg_name_to,
/* Check no PVs are constructed from either VG */
list_iterate_items(pvl, &vg_to->pvs) {
- if (pv_uses_vg(cmd, pvl->pv, vg_from)) {
+ if (pv_uses_vg(pvl->pv, vg_from)) {
log_error("Physical volume %s might be constructed "
"from same volume group %s.",
dev_name(pvl->pv->dev), vg_from->name);
@@ -134,7 +134,7 @@ static int _vgmerge_single(struct cmd_context *cmd, const char *vg_name_to,
}
list_iterate_items(pvl, &vg_from->pvs) {
- if (pv_uses_vg(cmd, pvl->pv, vg_to)) {
+ if (pv_uses_vg(pvl->pv, vg_to)) {
log_error("Physical volume %s might be constructed "
"from same volume group %s.",
dev_name(pvl->pv->dev), vg_to->name);