mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmlockd: fix log print
from previous commit
This commit is contained in:
parent
5d5807b238
commit
b9e4198500
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user