From 898e6f8e419c6d0a86d1a0fd12073fed05f6319c Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 11 May 2006 17:58:58 +0000 Subject: Add mirror_library description to example.conf. More compile-time cleanup. --- tools/vgmerge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/vgmerge.c') 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); -- cgit