diff options
Diffstat (limited to 'tools/vgmerge.c')
-rw-r--r-- | tools/vgmerge.c | 4 |
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); |