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 eebf91b5..5422e340 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(pv)));
+ pv_dev_name(pv));
return 0;
}