From ce98fa663bb7c157b0db45791731d4795d6208a5 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 17 Apr 2007 13:27:32 +0200 Subject: [PATCH 1/1] If writing to stdout, move stat output to stderr Signed-off-by: Jens Axboe --- filesetup.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/filesetup.c b/filesetup.c index f0c42e89..6ccd357e 100644 --- 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) -- 2.25.1