summaryrefslogtreecommitdiff
path: root/benchmarks/unixbench/files
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/unixbench/files')
-rw-r--r--benchmarks/unixbench/files/patch-execl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/unixbench/files/patch-execl.c b/benchmarks/unixbench/files/patch-execl.c
new file mode 100644
index 000000000000..affb32ff6d6e
--- /dev/null
+++ b/benchmarks/unixbench/files/patch-execl.c
@@ -0,0 +1,11 @@
+--- src/execl.c.orig Wed Jul 28 23:46:58 1999
++++ src/execl.c Fri Mar 23 09:20:36 2007
+@@ -88,7 +88,7 @@
+ 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);