summaryrefslogtreecommitdiff
path: root/tools/pvchange.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2016-02-25 14:12:08 -0600
committerDavid Teigland <teigland@redhat.com>2016-02-25 14:23:41 -0600
commit172bad0d5679f6152281cdd3a69e2cf0a3288c1e (patch)
tree704660c4cd9757ddd0230b18cabb2295b841e084 /tools/pvchange.c
parent66e175702af4cfb1ecad9316a8151c001933c190 (diff)
downloadlvm2-172bad0d5679f6152281cdd3a69e2cf0a3288c1e.tar.gz
Use a common message for a used PV
Change some inconsistent messages and adopt the new wording "PV %s is used by" in place of "PV %s is marked as belonging to" or "PV %s belongs to".
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 3c12c142a..86c4ac4f0 100644
--- a/tools/pvchange.c
+++ b/tools/pvchange.c
@@ -60,7 +60,7 @@ static int _pvchange_single(struct cmd_context *cmd, struct volume_group *vg,
goto_bad;
if (used && (arg_count(cmd, force_ARG) != DONT_PROMPT_OVERRIDE)) {
- log_error("PV '%s' is marked as belonging to a VG but its metadata is missing.", pv_name);
+ log_error("PV %s is used by a VG but its metadata is missing.", pv_name);
log_error("Can't change PV '%s' without -ff.", pv_name);
goto bad;
}