filesetup: change random file init to be bool based
[fio.git] / backend.c
index 6dbe59b250de15a9c7b2d53664e6e82dfcb90898..d3e9bf8160615b64ae714b47f4524403df272f44 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -1692,7 +1692,7 @@ static void *thread_main(void *data)
        if (td_io_init(td))
                goto err;
 
-       if (init_random_map(td))
+       if (!init_random_map(td))
                goto err;
 
        if (o->exec_prerun && exec_string(o, o->exec_prerun, (const char *)"prerun"))