1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-11 20:58:50 +03:00

lvmlockd: fix log print

from previous commit
This commit is contained in:
David Teigland 2017-12-05 13:48:30 -06:00
parent 5d5807b238
commit b9e4198500

View File

@ -1920,11 +1920,11 @@ int lockd_vg(struct cmd_context *cmd, const char *vg_name, const char *def_mode,
ret = 1; ret = 1;
goto out; goto out;
} else if (!strcmp(mode, "sh")) { } 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; ret = 1;
goto out; goto out;
} else { } 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; ret = 0;
goto out; goto out;
} }