summaryrefslogtreecommitdiff
path: root/tools/vgchange.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2017-12-08 13:17:15 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2017-12-08 13:21:15 +0100
commita64c73a979062c097395735372bbb33456d445f2 (patch)
treeaaea9e057206cabf63436b08889f78bdcf65bec5 /tools/vgchange.c
parent700e2a2d251cf8dcaf56035e0bd83ce8f808b5c0 (diff)
downloadlvm2-a64c73a979062c097395735372bbb33456d445f2.tar.gz
cleanup: debug message
Diffstat (limited to 'tools/vgchange.c')
-rw-r--r--tools/vgchange.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/vgchange.c b/tools/vgchange.c
index ea737badc..616a9d3f3 100644
--- a/tools/vgchange.c
+++ b/tools/vgchange.c
@@ -124,8 +124,8 @@ static int _activate_lvs_in_vg(struct cmd_context *cmd, struct volume_group *vg,
* If the LV is active exclusive remotely,
* then ignore it here
*/
- log_verbose("%s/%s is exclusively active on"
- " a remote node", vg->name, lv->name);
+ log_verbose("%s is exclusively active on a remote node.",
+ display_lvname(lv));
expected_count--; /* not accounted */
}
continue;
@@ -783,7 +783,7 @@ static int _vgchange_single(struct cmd_context *cmd, const char *vg_name,
if (!arg_is_set(cmd, refresh_ARG) &&
!vgchange_background_polling(cmd, vg))
- return_ECMD_FAILED;
+ return_ECMD_FAILED;
return ret;
}