From: Jens Axboe Date: Tue, 21 Aug 2012 13:34:36 +0000 (+0200) Subject: eta: fix bug where t_rate[] should me m_rate[] X-Git-Tag: fio-2.1~57^2~65 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=88e4beaa6a4a56c36484be1b4358ee00607bcfc6;p=fio.git eta: fix bug where t_rate[] should me m_rate[] Signed-off-by: Jens Axboe --- diff --git a/eta.c b/eta.c index e1050b52..f491feaa 100644 --- 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];