More iolog fixes
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index d5dd84b96ddf9b00fa89134551fc323bce923eb3..99f07288376f5cd7f668f169cdfb24f130091299 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -289,7 +289,7 @@ static int fill_io_u(struct thread_data *td, struct io_u *io_u)
        /*
         * If using an iolog, grab next piece if any available.
         */
-       if (td->o.read_iolog)
+       if (td->o.read_iolog_file)
                return read_iolog_get(td, io_u);
 
        /*