From c955d457ef8de1d3985e25ed32ca432b4f25b1b2 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 23 Mar 2007 08:22:13 +0000 Subject: - Fix build crash on amd64 PR: 109596 Submitted by: Ivan Voras Approved by: maintainer timeout --- benchmarks/unixbench/files/patch-execl.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 benchmarks/unixbench/files/patch-execl.c (limited to 'benchmarks/unixbench/files/patch-execl.c') 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); -- cgit v1.2.3