projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8cc7afa
)
If writing to stdout, move stat output to stderr
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 17 Apr 2007 11:27:32 +0000
(13:27 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 17 Apr 2007 11:27:32 +0000
(13:27 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c
patch
|
blob
|
blame
|
history
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;
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)
}
if (td->o.odirect)