X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=stat.c;h=1f124a8c0b65d40d080638e3aa2a7a4089f061df;hb=3dc3aa41ad79da5724c5eb4bbeb7aa4fcbe085fa;hp=5b4841322285b1b28cce80bd190049f3c5f14030;hpb=1ed84d86e0e357fd525c91ee41c0a56d4a71ef85;p=fio.git diff --git a/stat.c b/stat.c index 5b484132..1f124a8c 100644 --- a/stat.c +++ b/stat.c @@ -1825,8 +1825,10 @@ void __show_run_stats(void) } 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();