mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
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);
|