projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop circular dependency in log.c and lib/output_buffer.c
[fio.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index 5b4841322285b1b28cce80bd190049f3c5f14030..1f124a8c0b65d40d080638e3aa2a7a4089f061df 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-1825,8
+1825,10
@@
void __show_run_stats(void)
}
for (i = 0; i < FIO_OUTPUT_NR; i++) {
}
for (i = 0; i < FIO_OUTPUT_NR; i++) {
- buf_output_flush(&output[i]);
- buf_output_free(&output[i]);
+ struct buf_output *out = &output[i];
+ log_info_buf(out->buf, out->buflen);
+ buf_output_clear(out);
+ buf_output_free(out);
}
log_info_flush();
}
log_info_flush();