mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
6068f95dc6
patch-aa: fix an incorrect usage of exit(), while I'm here use correct headers.
20 lines
365 B
Plaintext
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);
|