Fix clat percentile display
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index c2705d26f38bbd82f25b82882aa1f5910901a7d0..72b84be81e29b192e681a7e1bf8acb0ed77f3de3 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;