From: Harlan Stenn Date: Wed, 21 Sep 2005 04:31:27 +0000 (-0400) Subject: autoopts cleanup X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fd8f4b5562bcded531942e2ac3372ccfb513271;p=thirdparty%2Fntp.git autoopts cleanup bk: 4330e21fsPr-semovylU5c_U7XQvfg --- diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index a16ba2563a..65c1077f1e 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -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();