stat: fix alignment of the iops stats
authorJens Axboe <axboe@kernel.dk>
Mon, 26 Jun 2017 14:50:49 +0000 (08:50 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Jun 2017 14:50:49 +0000 (08:50 -0600)
Fixes: 54c05828da4 ("stat: Print number of samples in bw and iops stats")
Reported-by: Elliott, Robert (Persistent Memory) <elliott@hpe.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c

diff --git a/stat.c b/stat.c
index b3b2cb35445259dc84b9bfeea81def9a8cdc64e7..e1c25a674a6384604fbf975ac7c3ebcbddee85e4 100644 (file)
--- 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);
        }
 }