summaryrefslogtreecommitdiff
path: root/benchmarks/blogbench/patches/patch-af
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2015-08-16 06:08:57 +0000
committermef <mef@pkgsrc.org>2015-08-16 06:08:57 +0000
commitbfd9add61743297fa1b3a1a53f66e9db0f994a05 (patch)
treea94e4820bcb8dd6c201ca67a570a106640a5b52a /benchmarks/blogbench/patches/patch-af
parent7087c348ebe4d4967e5bd3523f7a6bd451899627 (diff)
downloadpkgsrc-bfd9add61743297fa1b3a1a53f66e9db0f994a05.tar.gz
(pkgsrc)
- update MASTER_SITES (upstream) - Update 1.0 to 1.1 ----------------- * Version 1.1: Fix off-by-one that sometimes resulted in crashes.
Diffstat (limited to 'benchmarks/blogbench/patches/patch-af')
-rw-r--r--benchmarks/blogbench/patches/patch-af20
1 files changed, 10 insertions, 10 deletions
diff --git a/benchmarks/blogbench/patches/patch-af b/benchmarks/blogbench/patches/patch-af
index 524f20d6861..cb4af29ccf7 100644
--- a/benchmarks/blogbench/patches/patch-af
+++ b/benchmarks/blogbench/patches/patch-af
@@ -1,13 +1,13 @@
-$NetBSD: patch-af,v 1.1 2006/10/15 12:53:04 xtraeme Exp $
+$NetBSD: patch-af,v 1.2 2015/08/16 06:08:57 mef Exp $
---- src/process.c.orig 2005-02-11 22:32:46.000000000 +0100
-+++ src/process.c 2006-10-15 14:44:32.000000000 +0200
-@@ -138,6 +138,8 @@
- "Frequency = %u secs\n"
- "Scratch dir = [%s]\n",
- sleep_stats, scratch_dir);
-+ reentrant_printf("Direct I/O: %s\n", do_directio ? "enabled" : "disabled");
+--- src/process.c~ 2015-08-16 15:00:37.000000000 +0900
++++ src/process.c 2015-08-16 15:01:10.000000000 +0900
+@@ -146,6 +146,8 @@ int process(void)
+ "Frequency = %u secs\n"
+ "Scratch dir = [%s]\n",
+ sleep_stats, scratch_dir);
++ reentrant_printf("Direct I/O: %s\n", do_directio ? "enabled" : "disabled");
+
if (chdir(scratch_dir) != 0) {
- reentrant_printf("Unable to enter the scratch dir [%s]: [%s]\n",
- scratch_dir, strerror(errno));
+ reentrant_printf("Unable to enter the scratch dir [%s]: [%s]\n",
+ scratch_dir, strerror(errno));