Fix clat percentile display
authorJens Axboe <axboe@kernel.dk>
Wed, 12 Oct 2011 14:07:30 +0000 (16:07 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Oct 2011 14:07:30 +0000 (16:07 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c

diff --git a/stat.c b/stat.c
index c2705d2..72b84be 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -150,8 +150,8 @@ static void show_clat_percentiles(unsigned int *io_u_plat, unsigned long nr,
                        /* end of the list */
                        is_last = (j == len - 1);
 
-                       log_info(" %2.2fth=%u%c", plist[j], plat_idx_to_val(i),
-                                (is_last? '\n' : ','));
+                       log_info(" %2.2fth=%u%c", plist[j].u.f,
+                               plat_idx_to_val(i), (is_last? '\n' : ','));
 
                        if (is_last)
                                break;