iolog/blktrace: boolean conversion
[fio.git] / backend.c
index d5cb6ef56fa89e3636524bc3e13d74c1f0d24115..033d5a707f2a896f161eab84299e2b1bf6a23de0 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -1670,7 +1670,7 @@ static void *thread_main(void *data)
         * May alter parameters that init_io_u() will use, so we need to
         * do this first.
         */
-       if (init_iolog(td))
+       if (!init_iolog(td))
                goto err;
 
        if (init_io_u(td))