diff options
author | Marian Csontos <mcsontos@redhat.com> | 2017-09-27 13:20:25 +0200 |
---|---|---|
committer | Marian Csontos <mcsontos@redhat.com> | 2017-09-27 13:20:25 +0200 |
commit | 090db98828694a00016395cc6c2a25fa1de953f4 (patch) | |
tree | 22eb7b52efb367289e4c8e6489dd66516b067f96 /tools/pvmove.c | |
parent | 8146548d25e9104f0d530d943290d448c1994c0a (diff) | |
download | lvm2-090db98828694a00016395cc6c2a25fa1de953f4.tar.gz |
pvmove: Change error message
Change error message to match previously used one used by tests.
Diffstat (limited to 'tools/pvmove.c')
-rw-r--r-- | tools/pvmove.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/pvmove.c b/tools/pvmove.c index 750f08e24..305647e91 100644 --- a/tools/pvmove.c +++ b/tools/pvmove.c @@ -538,6 +538,7 @@ static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd, } if (lv_name && !lv_found) { + /* NOTE: Is this now an internal error? It is already checked in _pvmove_setup_single */ log_error("Logical volume %s not found.", lv_name); return NULL; } @@ -715,7 +716,7 @@ static int _pvmove_setup_single(struct cmd_context *cmd, } if (!(lv = find_lv(vg, lv_name))) { - log_error("Failed to find LV with name %s", lv_name); + log_error("Logical volume %s not found.", lv_name); return ECMD_FAILED; } } |