summaryrefslogtreecommitdiff
path: root/benchmarks/unixbench/files/patch-src_syscall.c
diff options
context:
space:
mode:
authorLuca Pizzamiglio <pizzamig@FreeBSD.org>2017-09-05 07:53:13 +0000
committerLuca Pizzamiglio <pizzamig@FreeBSD.org>2017-09-05 07:53:13 +0000
commit1c9863b704528439a4827b751d10f2e411f5f71e (patch)
treede7d6ce9cec438142aa36f201a805ebb89ae1585 /benchmarks/unixbench/files/patch-src_syscall.c
parentFix build. (diff)
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
Diffstat (limited to 'benchmarks/unixbench/files/patch-src_syscall.c')
-rw-r--r--benchmarks/unixbench/files/patch-src_syscall.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/unixbench/files/patch-src_syscall.c b/benchmarks/unixbench/files/patch-src_syscall.c
new file mode 100644
index 000000000000..9e920f1e1390
--- /dev/null
+++ b/benchmarks/unixbench/files/patch-src_syscall.c
@@ -0,0 +1,11 @@
+--- 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 {