Skip to contentSkip to conversation

master - cleanup: debug message

PATCH Zdenek Kabelac 1 participant 1 message Dec 8, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a64c73a979062c097395735372bbb33456d445f2
Commit:        a64c73a979062c097395735372bbb33456d445f2
Parent:        700e2a2d251cf8dcaf56035e0bd83ce8f808b5c0
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Dec 8 13:17:15 2017 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Dec 8 13:21:15 2017 +0100

cleanup: debug message

---
 tools/vgchange.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
tools/vgchange.c +3 -3
index ea737ba..616a9d3 100644
@@ -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;
 }