commit | 88e4beaa6a4a56c36484be1b4358ee00607bcfc6 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Aug 21 15:34:36 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Aug 21 15:34:36 2012 +0200 |
tree | 9e08e31f741692c68e4eeae028e7d070d3b6b093 | |
parent | c2e9cc4d20c1db1c81276fdaadb56b8b0085d0d8 [diff] |
eta: fix bug where t_rate[] should me m_rate[] Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/eta.c b/eta.c index e1050b5..f491fea 100644 --- a/eta.c +++ b/eta.c
@@ -393,7 +393,7 @@ } 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];