From 4539ed73159735c20cf6c2808eea84d0cc25a608 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 23 Jul 2007 14:21:17 +0200 Subject: [PATCH] Missing carriage return in latency print Signed-off-by: Jens Axboe --- stat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"); } -- 2.25.1