From 9cde594006a1e1b62741b1926075293d2bcd507c Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 12 Jul 2007 11:31:20 +1000 Subject: [PATCH] the posix.4 name for the priority field is sched_priority not __sched_priority (This used to be ctdb commit c08c5a36b3f1dd2cb72278058cb5664816e1d339) --- ctdb/common/ctdb_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/common/ctdb_util.c b/ctdb/common/ctdb_util.c index f8f7cb5150a..219b31f25f7 100644 --- a/ctdb/common/ctdb_util.c +++ b/ctdb/common/ctdb_util.c @@ -196,7 +196,7 @@ void ctdb_set_realtime(bool enable) { #if HAVE_SCHED_SETSCHEDULER struct sched_param p; - p.__sched_priority = 1; + p.sched_priority = 1; if (enable) { if (sched_setscheduler(getpid(), SCHED_FIFO, &p) == -1) { -- 2.47.3