Ensure that buffer contents are random across jobs as well
[fio.git] / eta.c
diff --git a/eta.c b/eta.c
index ba6a3989366f37b025c42b5a4569e91ab707febe..e1cced4643873a1e1388ac3c9b27bc0eeb904e26 100644 (file)
--- a/eta.c
+++ b/eta.c
@@ -7,7 +7,7 @@
 
 #include "fio.h"
 
-static char run_str[MAX_JOBS + 1];
+static char run_str[REAL_MAX_JOBS + 1];
 
 /*
  * Sets the status of the 'td' in the printed status map.
@@ -391,7 +391,7 @@ void print_thread_status(void)
        fflush(stdout);
 }
 
-void print_status_init(int thread_number)
+void print_status_init(int thr_number)
 {
-       run_str[thread_number] = 'P';
+       run_str[thr_number] = 'P';
 }