summaryrefslogtreecommitdiffstats
path: root/tools/pvchange.c
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2007-06-13 23:29:33 +0000
committerDave Wysochanski <dwysocha@redhat.com>2007-06-13 23:29:33 +0000
commitb7dd5ac374156821a58013adde462e9e12527de8 (patch)
treea4d409b0f5a59690690dcd36882321509acf56e7 /tools/pvchange.c
parent9dcbe73897e549df2f2d96a57a71808cf3ef21c2 (diff)
downloadlvm2-b7dd5ac374156821a58013adde462e9e12527de8.tar.gz
lvm2-b7dd5ac374156821a58013adde462e9e12527de8.tar.xz
lvm2-b7dd5ac374156821a58013adde462e9e12527de8.zip
Convert pv->dev to get_pv_dev
Diffstat (limited to 'tools/pvchange.c')
-rw-r--r--tools/pvchange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvchange.c b/tools/pvchange.c
index 3c26688a..06d514c9 100644
--- a/tools/pvchange.c
+++ b/tools/pvchange.c
@@ -26,7 +26,7 @@ static int _pvchange_single(struct cmd_context *cmd, struct physical_volume *pv,
uint64_t sector;
uint32_t orig_pe_alloc_count;
- const char *pv_name = dev_name(pv->dev);
+ const char *pv_name = dev_name(get_pv_dev(pv));
const char *tag = NULL;
const char *orig_vg_name;
char uuid[64] __attribute((aligned(8)));