gettime: add some sanity checks to platform clock
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index e4c1fef9cb6ff802e3f5dffce4e24a0004565ad4..b73c208e468e5e948c799d4a2d8d9beb72c60f49 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -316,6 +316,7 @@ static int read_iolog2(struct thread_data *td, FILE *f)
                                                                        act);
                                continue;
                        }
+                       fileno = get_fileno(td, fname);
                } else if (r == 2) {
                        rw = DDIR_INVAL;
                        if (!strcmp(act, "add")) {