]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
autoopts cleanup
authorHarlan Stenn <stenn@ntp.org>
Wed, 21 Sep 2005 04:31:27 +0000 (00:31 -0400)
committerHarlan Stenn <stenn@ntp.org>
Wed, 21 Sep 2005 04:31:27 +0000 (00:31 -0400)
bk: 4330e21fsPr-semovylU5c_U7XQvfg

ntpd/ntpd.c

index a16ba2563a5d5183cc44def77d362f13a6faecdf..65c1077f1e3f0428efbad5e556d74b17da2c8805 100644 (file)
@@ -547,10 +547,12 @@ printf("1: argc=%d\n", argc);
        if (HAVE_OPT( NICE ))
                priority_done = 0;
 
+#if defined(HAVE_SCHED_SETSCHEDULER)
        if (HAVE_OPT( PRIORITY )) {
                config_priority = OPT_VALUE_PRIORITY;
                config_priority_override = 1;
        }
+#endif
 
        setup_logfile();