summaryrefslogtreecommitdiff
path: root/benchmarks/unixbench/files/patch-src_big.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_big.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 '')
-rw-r--r--benchmarks/unixbench/files/patch-src_big.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/unixbench/files/patch-src_big.c b/benchmarks/unixbench/files/patch-src_big.c
new file mode 100644
index 000000000000..7790317c2b9e
--- /dev/null
+++ b/benchmarks/unixbench/files/patch-src_big.c
@@ -0,0 +1,11 @@
+--- src/big.c.orig 2015-06-04 17:20:18 UTC
++++ src/big.c
+@@ -583,7 +583,7 @@ void dumpwork(void)
+ void fatal(char *s)
+ {
+ int i;
+- fprintf(stderr, s);
++ fprintf(stderr, "%s", s);
+ fflush(stderr);
+ perror("Reason?");
+ fflush(stderr);