summaryrefslogtreecommitdiff
path: root/security/rid/patches/patch-ad
blob: 082efc39498e030fb1f8608dfe3750180a9d9827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.1 2008/05/27 22:28:21 agc Exp $

Fix the 3rd arg of waitpid to match the prototype

--- rid.c	2008/05/27 12:45:41	1.1
+++ rid.c	2008/05/27 12:45:10
@@ -295,7 +295,7 @@
                 sender();
 		sleep(Sleep); /* Wait for all responses before exiting */
                 kill(PidListener, SIGTERM);
-                waitpid(PidListener, NULL, NULL);
+                waitpid(PidListener, NULL, 0);
                 break;
   }