ports/benchmarks/unixbench/files/patch-src_syscall.c
Luca Pizzamiglio 1c9863b704 benchmarks/unixbench: updating to version 5.1.3
While I'm here:
* updating MAINTAINER entry
* adding the proper dependencies

Reviewed by:	mat
Approved by:	olivier (mentor)
Differential Revision:	https://reviews.freebsd.org/D12224
2017-09-05 07:53:13 +00:00

11 lines
485 B
C

--- src/syscall.c.orig 2015-06-04 17:20:18 UTC
+++ src/syscall.c
@@ -90,7 +90,7 @@ char *argv[];
fprintf(stderr,"%s: fork failed\n", argv[0]);
exit(1);
} else if (pid == 0) {
- execl("/bin/true", (char *) 0);
+ execl("/bin/true", (char *) 0, (char *) 0);
fprintf(stderr,"%s: exec /bin/true failed\n", argv[0]);
exit(1);
} else {