From a64c73a979062c097395735372bbb33456d445f2 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 8 Dec 2017 13:17:15 +0100 Subject: [PATCH] cleanup: debug message --- tools/vgchange.c | 6 +++--- 1 file 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; }