mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-05 01:06:04 +00:00
sched_params log message incorrect
The sched_params parameter was set before being printed. Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> Reviewed-by: <sdake@redhat.com>
This commit is contained in:
parent
424200d962
commit
ae4a3af340
@ -1305,10 +1305,10 @@ static void corosync_setscheduler (void)
|
||||
if (res == -1) {
|
||||
char error_str[100];
|
||||
strerror_r (errno, error_str, 100);
|
||||
global_sched_param.sched_priority = 0;
|
||||
log_printf (LOGSYS_LEVEL_WARNING, "Could not set SCHED_RR at priority %d: %s\n",
|
||||
global_sched_param.sched_priority, error_str);
|
||||
|
||||
global_sched_param.sched_priority = 0;
|
||||
logsys_thread_priority_set (SCHED_OTHER, NULL, 1);
|
||||
} else {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user