genfio: Splitting gen_template in 2 parts
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index e54016d6e6c1027b0e462043e914203a9b506ae9..9bcf0d8e2982e37ce5d48fbd64e9653872e54ea0 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -315,6 +315,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")) {