Files
pkgsrc-ng/benchmarks/blogbench/patches/patch-af
2016-01-21 23:42:40 +01:00

14 lines
594 B
Plaintext

$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));