* don't overwrite last signal output
*/
if (!terse_output)
- printf("\n");
+ log_info("\n");
for (i = 0; i < nr_ts; i++) {
ts = &threadstats[i];
if (spent < td->o.bw_avg_time)
return;
- rate = (td->this_io_bytes[ddir] - ts->stat_io_bytes[ddir]) * 1000 / spent / 1024;
+ rate = (td->this_io_bytes[ddir] - ts->stat_io_bytes[ddir]) *
+ 1000 / spent / 1024;
add_stat_sample(&ts->bw_stat[ddir], rate);
if (ts->bw_log)