splice: use ->o.memalign to indicate we want aligned buffers
[fio.git] / log.c
diff --git a/log.c b/log.c
index 266dc06b3b2df74d4d765835583bef44ee20d753..f962864d912d9b5cdc3bfbc39286241fdd717665 100644 (file)
--- a/log.c
+++ b/log.c
@@ -415,6 +415,7 @@ static int init_iolog_read(struct thread_data *td)
        if (!p) {
                td_verror(td, errno, "iolog read");
                log_err("fio: unable to read iolog\n");
+               fclose(f);
                return 1;
        }
 
@@ -434,7 +435,7 @@ static int init_iolog_read(struct thread_data *td)
 }
 
 /*
- * Setup a log for storing io patterns.
+ * Set up a log for storing io patterns.
  */
 static int init_iolog_write(struct thread_data *td)
 {