summaryrefslogtreecommitdiff
path: root/misc/delay/files/patch-aa
blob: cd41bf84d0e9e65f0a8658e95bd1010ef87b1d8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- delay.c.old	Fri Dec 31 00:04:28 1999
+++ delay.c	Fri Dec 31 00:05:02 1999
@@ -17,6 +17,7 @@
 */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <time.h>
 #include <sys/time.h>
 #include <unistd.h>
@@ -351,7 +352,7 @@
 	if (cmd) {
 		execvp(cmd[0], cmd);
 		perror(argv[0]); /* If it worked, we won't get here. */
-		exit -1;
+		exit(-1);
 	}
 	
 	exit(0);