1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/misc/delay/files/patch-aa
Bill Fumerola 6068f95dc6 Upgrade to 1.4
patch-aa: fix an incorrect usage of exit(), while I'm here use correct headers.
1999-12-31 06:49:03 +00:00

20 lines
365 B
Plaintext

--- 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);