Missing carriage return in latency print
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/stat.c b/stat.c
index 38f94be..401e1f2 100644
--- a/stat.c
+++ b/stat.c
@@ -228,6 +228,8 @@
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 @@
if (line == 5)
new_line = 1;
}
-
}
static void show_lat_u(double *io_u_lat_u)
@@ -262,6 +263,7 @@
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");
}