aboutsummaryrefslogblamecommitdiff
path: root/net/ntp/files/patch-sntp_m4_ntp__rlimit.m4
blob: 27d1711d050647fb8a65c32d64b13bbdfd3c1552 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                   
--- sntp/m4/ntp_rlimit.m4.orig	2015-09-23 04:49:10.000000000 -0700
+++ sntp/m4/ntp_rlimit.m4	2019-09-11 20:36:17.291424000 -0700
@@ -112,7 +112,7 @@
  yes | no)
     ans=$ntp_dflt_rlimit_memlock
     ;;
- [[1-9]][[0-9]]*) ;;
+ [[1-9]][[0-9]]*|-1) ;;
  *) AC_MSG_ERROR(["--with-memlock requires an integer argument."])
      ;;
 esac