]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
the posix.4 name for the priority field is sched_priority
authorRonnie Sahlberg <sahlberg@ronnie>
Thu, 12 Jul 2007 01:31:20 +0000 (11:31 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Thu, 12 Jul 2007 01:31:20 +0000 (11:31 +1000)
not __sched_priority

(This used to be ctdb commit c08c5a36b3f1dd2cb72278058cb5664816e1d339)

ctdb/common/ctdb_util.c

index f8f7cb5150a293c5817bedd58fa1227b1b0074d6..219b31f25f734cb20dbbd49d45a3bc031ff43877 100644 (file)
@@ -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) {