eta: fix bug where t_rate[] should me m_rate[]
[fio.git] / eta.c
diff --git a/eta.c b/eta.c
index e1050b52b5a8801c9eb2fef0077353eb17bb656c..f491feaacb56bfc3791530781ee36211b819c994 100644 (file)
--- a/eta.c
+++ b/eta.c
@@ -393,7 +393,7 @@ void display_thread_status(struct jobs_eta *je)
        } else if (je->m_iops[0] || je->m_iops[1] || je->t_iops[0] || je->t_iops[1]) {
                p += sprintf(p, ", CR=%d/%d IOPS",
                                        je->t_iops[0] + je->t_iops[1],
-                                       je->m_iops[0] + je->t_iops[1]);
+                                       je->m_iops[0] + je->m_iops[1]);
        }
        if (je->eta_sec != INT_MAX && je->nr_running) {
                char perc_str[32];