blob: cb4af29ccf704b5dd208985566d2ab7e1ab35ff5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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));
|