All of lore.kernel.org
 help / color / mirror / Atom feed
* master - lvmlockd: fix log print
@ 2017-12-05 19:49 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2017-12-05 19:49 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b9e419850086473d4309c5211852b0237020421d
Commit:        b9e419850086473d4309c5211852b0237020421d
Parent:        5d5807b238f12cbe1e3ba7bbb31e2db2f08ed173
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Tue Dec 5 13:48:30 2017 -0600
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Tue Dec 5 13:48:30 2017 -0600

lvmlockd: fix log print

from previous commit
---
 lib/locking/lvmlockd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/locking/lvmlockd.c b/lib/locking/lvmlockd.c
index 5870d05..d8bb818 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;
 		}



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-05 19:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-05 19:49 master - lvmlockd: fix log print David Teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.