diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2007-06-15 22:16:55 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2007-06-15 22:16:55 +0000 |
commit | ff77bb1ab6c50f6f26cc9b54ee258e487093625c (patch) | |
tree | e8b6f6f60c7594670b941cfb16ae89a180e21ad3 /tools/pvremove.c | |
parent | 6dee7d312a8c138d3d42a7c14773f432d7852033 (diff) | |
download | lvm2-ff77bb1ab6c50f6f26cc9b54ee258e487093625c.tar.gz lvm2-ff77bb1ab6c50f6f26cc9b54ee258e487093625c.tar.xz lvm2-ff77bb1ab6c50f6f26cc9b54ee258e487093625c.zip |
Remove get_ prefix from get_pv_* functions
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r-- | tools/pvremove.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c index 066e0768..8567e006 100644 --- a/tools/pvremove.c +++ b/tools/pvremove.c @@ -50,13 +50,13 @@ static int pvremove_check(struct cmd_context *cmd, const char *name) /* we must have -ff to overwrite a non orphan */ if (arg_count(cmd, force_ARG) < 2) { log_error("Can't pvremove physical volume \"%s\" of " - "volume group \"%s\" without -ff", name, get_pv_vg_name(pv)); + "volume group \"%s\" without -ff", name, pv_vg_name(pv)); return 0; } /* prompt */ if (!arg_count(cmd, yes_ARG) && - yes_no_prompt(_really_wipe, name, get_pv_vg_name(pv)) == 'n') { + yes_no_prompt(_really_wipe, name, pv_vg_name(pv)) == 'n') { log_print("%s: physical volume label not removed", name); return 0; } @@ -65,7 +65,7 @@ static int pvremove_check(struct cmd_context *cmd, const char *name) log_print("WARNING: Wiping physical volume label from " "%s%s%s%s", name, !is_orphan(pv) ? " of volume group \"" : "", - !is_orphan(pv) ? get_pv_vg_name(pv) : "", + !is_orphan(pv) ? pv_vg_name(pv) : "", !is_orphan(pv) ? "\"" : ""); } |