pkgsrc/benchmarks/blogbench/patches/patch-af
mef ea9ccaecd9 (pkgsrc)
- update MASTER_SITES
(upstream)
  - Update 1.0 to 1.1
-----------------
* Version 1.1:
Fix off-by-one that sometimes resulted in crashes.
2015-08-16 06:08:57 +00:00

13 lines
594 B
Text

$NetBSD: patch-af,v 1.2 2015/08/16 06:08:57 mef Exp $
--- 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));