projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
If writing to stdout, move stat output to stderr
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index f0c42e896de1afc336888f949045b8b493087c61..6ccd357ec4f5d0b9dde6cb92d2691139eeb2aa34 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-209,6
+209,12
@@
int generic_open_file(struct thread_data *td, struct fio_file *f)
return 1;
}
is_std = 1;
+
+ /*
+ * move output logging to stderr, if we are writing to stdout
+ */
+ if (td_write(td))
+ f_out = stderr;
}
if (td->o.odirect)