The sched_params parameter was set before being printed. Signed-off-by: Dietmar Maurer <diet...@proxmox.com> Reviewed-by: <sd...@redhat.com> --- exec/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/exec/main.c b/exec/main.c index cc70e01..e9a45e2 100644 --- a/exec/main.c +++ b/exec/main.c @@ -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 { /* -- 1.7.4.4 _______________________________________________ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais