diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2007-10-12 14:29:32 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2007-10-12 14:29:32 +0000 |
commit | 1b8de4cb25dcf69b7242cecfee90775bd7e1f15e (patch) | |
tree | 9fbc0406b7a3e4632e1113d30aaf5d2b60e001f1 /tools/pvchange.c | |
parent | 70d9f98ed351fd98816acd7befa0fa7321168941 (diff) | |
download | lvm2-1b8de4cb25dcf69b7242cecfee90775bd7e1f15e.tar.gz lvm2-1b8de4cb25dcf69b7242cecfee90775bd7e1f15e.tar.xz lvm2-1b8de4cb25dcf69b7242cecfee90775bd7e1f15e.zip |
Add pv_dev_name() to access PV device name.
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Diffstat (limited to 'tools/pvchange.c')
-rw-r--r-- | tools/pvchange.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvchange.c b/tools/pvchange.c index 3dfaf5fb..007f6a7d 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(pv)); + const char *pv_name = pv_dev_name(pv); const char *tag = NULL; const char *orig_vg_name; char uuid[64] __attribute((aligned(8))); |