From b9e419850086473d4309c5211852b0237020421d Mon Sep 17 00:00:00 2001 From: David Teigland Date: Tue, 5 Dec 2017 13:48:30 -0600 Subject: [PATCH] lvmlockd: fix log print from previous commit --- lib/locking/lvmlockd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/locking/lvmlockd.c b/lib/locking/lvmlockd.c index 5870d0526..d8bb818ef 100644 --- a/lib/locking/lvmlockd.c +++ b/lib/locking/lvmlockd.c @@ -1920,11 +1920,11 @@ int lockd_vg(struct cmd_context *cmd, const char *vg_name, const char *def_mode, ret = 1; goto out; } else if (!strcmp(mode, "sh")) { - log_warn("VG %s lock skipped: held by other host.", vg_name, result); + log_warn("VG %s lock skipped: held by other host.", vg_name); ret = 1; goto out; } else { - log_error("VG %s lock failed: held by other host.", vg_name, result); + log_error("VG %s lock failed: held by other host.", vg_name); ret = 0; goto out; }