backend: respect return value of init_io_u_buffers
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index aa9c3bb1e4eca43fa0cf1c9794df39656ba80972..62f2f524c7fd1872dab98e608894ebeaa9ae98aa 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -620,7 +620,8 @@ static bool read_iolog(struct thread_data *td)
                {
                        io_u_quiesce(td);
                        free_io_mem(td);
-                       init_io_u_buffers(td);
+                       if (init_io_u_buffers(td))
+                               return false;
                }
                return true;
        }