ports/benchmarks/unixbench/files/patch-src_execl.c
Mathieu Arnold 1a8a092d9f Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.

Sponsored by:	Absolight
2016-06-17 23:28:04 +00:00

11 lines
371 B
C

--- src/execl.c.orig 1999-07-28 21:46:58 UTC
+++ src/execl.c
@@ -88,7 +88,7 @@ char *argv[];
fprintf(stderr, "%lu loops\n", iter);
exit(0);
}
- execl(fullpath, fullpath, "0", dur_str, count_str, start_str, 0);
+ execl(fullpath, fullpath, "0", dur_str, count_str, start_str, NULL);
printf("Exec failed at iteration %lu\n", iter);
perror("Reason");
exit(1);