td vs ts typo
authorJens Axboe <jens.axboe@oracle.com>
Tue, 6 Mar 2007 14:32:33 +0000 (15:32 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 6 Mar 2007 14:32:33 +0000 (15:32 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
stat.c

diff --git a/stat.c b/stat.c
index ccab0c7..5470c87 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -6,7 +6,6 @@
 #include <dirent.h>
 #include <libgen.h>
 #include <math.h>
-#include <assert.h>
 
 #include "fio.h"
 
@@ -720,9 +719,9 @@ void show_run_stats(void)
 
                rbw = wbw = 0;
                if (ts->runtime[0])
-                       rbw = td->io_bytes[0] / (unsigned long long) ts->runtime[0];
+                       rbw = ts->io_bytes[0] / (unsigned long long) ts->runtime[0];
                if (ts->runtime[1])
-                       wbw = td->io_bytes[1] / (unsigned long long) ts->runtime[1];
+                       wbw = ts->io_bytes[1] / (unsigned long long) ts->runtime[1];
 
                if (rbw < rs->min_bw[0])
                        rs->min_bw[0] = rbw;