[lvm-devel] master - lvmlockd: fix log print
David Teigland
teigland at sourceware.org
Tue Dec 5 19:49:18 UTC 2017
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b9e419850086473d4309c5211852b0237020421d
Commit: b9e419850086473d4309c5211852b0237020421d
Parent: 5d5807b238f12cbe1e3ba7bbb31e2db2f08ed173
Author: David Teigland <teigland at redhat.com>
AuthorDate: Tue Dec 5 13:48:30 2017 -0600
Committer: David Teigland <teigland at 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;
}
More information about the lvm-devel
mailing list