summaryrefslogtreecommitdiffstats
path: root/tools/vgsplit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vgsplit.c')
-rw-r--r--tools/vgsplit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgsplit.c b/tools/vgsplit.c
index dc1e8aee..e5618b71 100644
--- a/tools/vgsplit.c
+++ b/tools/vgsplit.c
@@ -105,7 +105,7 @@ static int _move_lvs(struct volume_group *vg_from, struct volume_group *vg_to)
continue;
}
log_error("Physical Volume %s not found",
- dev_name(pv->dev));
+ dev_name(get_pv_dev(pv)));
return 0;
}