From: Jens Axboe Date: Mon, 23 Jul 2007 12:21:17 +0000 (+0200) Subject: Missing carriage return in latency print X-Git-Tag: fio-1.17~59 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=4539ed73159735c20cf6c2808eea84d0cc25a608 Missing carriage return in latency print Signed-off-by: Jens Axboe --- diff --git a/stat.c b/stat.c index 38f94be0..401e1f2a 100644 --- a/stat.c +++ b/stat.c @@ -228,6 +228,8 @@ static void show_lat(double *io_u_lat, int nr, const char **ranges, if (io_u_lat[i] <= 0.0) continue; if (new_line) { + if (line) + log_info("\n"); log_info(" lat (%s): ", msg); new_line = 0; line = 0; @@ -239,7 +241,6 @@ static void show_lat(double *io_u_lat, int nr, const char **ranges, if (line == 5) new_line = 1; } - } static void show_lat_u(double *io_u_lat_u) @@ -262,6 +263,7 @@ static void show_lat_m(double *io_u_lat_m) static void show_latencies(double *io_u_lat_u, double *io_u_lat_m) { show_lat_u(io_u_lat_u); + log_info("\n"); show_lat_m(io_u_lat_m); log_info("\n"); }