From 21ba66069c2f9273e17adf59e2be014da81372f7 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 26 Jun 2017 08:50:49 -0600 Subject: [PATCH] stat: fix alignment of the iops stats Fixes: 54c05828da4 ("stat: Print number of samples in bw and iops stats") Reported-by: Elliott, Robert (Persistent Memory) Signed-off-by: Jens Axboe --- stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stat.c b/stat.c index b3b2cb35..e1c25a67 100644 --- a/stat.c +++ b/stat.c @@ -502,8 +502,8 @@ static void show_ddir_status(struct group_run_stats *rs, struct thread_stat *ts, (&ts->bw_stat[ddir])->samples); } if (calc_lat(&ts->iops_stat[ddir], &min, &max, &mean, &dev)) { - log_buf(out, " iops : min=%5llu, max=%5llu, avg=%5.02f, " - "stdev=%5.02f, samples=%5lu\n", + log_buf(out, " iops : min=%5llu, max=%5llu, " + "avg=%5.02f, stdev=%5.02f, samples=%5lu\n", min, max, mean, dev, (&ts->iops_stat[ddir])->samples); } } -- 2.25.1