summaryrefslogtreecommitdiffstats
path: root/tools/lvconvert.c
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2011-06-01 12:24:15 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2011-06-01 12:24:15 +0000
commit1fd2dac60bc31e84be05d6e51b8e92b2fc4807d9 (patch)
treef9c8ec1fefe54855785e17704ecef67bd9f3070e /tools/lvconvert.c
parentc08c564e216834ddce5e6c97ee365bf763fb0781 (diff)
downloadlvm2-1fd2dac60bc31e84be05d6e51b8e92b2fc4807d9.tar.gz
lvm2-1fd2dac60bc31e84be05d6e51b8e92b2fc4807d9.tar.xz
lvm2-1fd2dac60bc31e84be05d6e51b8e92b2fc4807d9.zip
Clarify error message when unable to convert an LV into a snapshot of an LV.
Diffstat (limited to 'tools/lvconvert.c')
-rw-r--r--tools/lvconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvconvert.c b/tools/lvconvert.c
index ee184ebe..bfde998b 100644
--- a/tools/lvconvert.c
+++ b/tools/lvconvert.c
@@ -1391,7 +1391,7 @@ static int lvconvert_snapshot(struct cmd_context *cmd,
}
if (org->status & (LOCKED|PVMOVE|MIRRORED) || lv_is_cow(org)) {
- log_error("Unable to create a snapshot of a %s LV.",
+ log_error("Unable to convert an LV into a snapshot of a %s LV.",
org->status & LOCKED ? "locked" :
org->status & PVMOVE ? "pvmove" :
org->status & MIRRORED ? "mirrored" :