Add --max-jobs/-j command line option
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index 5ea1a2c32fc3d44edda83d910c8d11f8015cc1c9..01aa1d67fd02168bdcf980a147234ca49cb417c3 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -1515,7 +1515,7 @@ static void run_threads(void)
        set_genesis_time();
 
        while (todo) {
-               struct thread_data *map[MAX_JOBS];
+               struct thread_data *map[REAL_MAX_JOBS];
                struct timeval this_start;
                int this_jobs = 0, left;