master - lvmlockd: fix log print
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b9e419850086473d4309c5211852b0237020421d Commit: b9e419850086473d4309c5211852b0237020421d Parent: 5d5807b238f12cbe1e3ba7bbb31e2db2f08ed173 Author: David Teigland <[email protected]> AuthorDate: Tue Dec 5 13:48:30 2017 -0600 Committer: David Teigland <[email protected]> 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(-)
lib/locking/lvmlockd.c +2 -2
@@ -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; }