]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
More updates for bug 2817. Harlan Stenn.
authorHarlan Stenn <stenn@ntp.org>
Thu, 24 Sep 2015 11:27:07 +0000 (11:27 +0000)
committerHarlan Stenn <stenn@ntp.org>
Thu, 24 Sep 2015 11:27:07 +0000 (11:27 +0000)
bk: 5603de0bxKSADyA6tvET9UsZqEY6RA

ntpd/ntpd.c

index 71c021fca3f7e2f72f126baec1edba741846a77d..a14d02c503d90e1c40d2c4c7b9631544e97f4474 100644 (file)
@@ -791,7 +791,7 @@ ntpdmain(
                 * lock the process into memory
                 */
                if (   !HAVE_OPT(SAVECONFIGQUIT)
-#  ifdef HAVE_SETRLIMIT
+#  ifdef RLIMIT_MEMLOCK
                    && -1 != DFLT_RLIMIT_MEMLOCK
 #  endif
                    && 0 != mlockall(MCL_CURRENT|MCL_FUTURE))