blob: 678c6e0072dd71953dbef695061f4514c1c9d6e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
main: raise SHM unit limit
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
diff -Nuar --exclude '*~' omnisync-1.0.orig/main.c omnisync-1.0/main.c
--- omnisync-1.0.orig/main.c 2009-01-02 01:03:20.000000000 -0800
+++ omnisync-1.0/main.c 2018-06-01 14:32:34.630066839 -0700
@@ -346,8 +346,8 @@
unit_nr = atoi(optarg);
if (unit_nr < 0)
error_exit("-u requires a positive value\n");
- if (unit_nr > 3)
- error_exit("NTPd normally supports only 4 shared memory devices, still continuing though\n");
+ if (unit_nr > 254)
+ error_exit("NTPd normally supports only 254 shared memory devices\n");
break;
case 'v':
|