Pretty up the good/bad block verify dumping
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index 280dbe6660c1513dedebb6a551f1258a8bb162b1..e475a36f678673fe809612c588a9f93bf27817e9 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -24,6 +24,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <string.h>
+#include <limits.h>
 #include <signal.h>
 #include <time.h>
 #include <locale.h>
@@ -864,7 +865,7 @@ static int init_io_u(struct thread_data *td)
                                 * Fill the buffer with the pattern if we are
                                 * going to be doing writes.
                                 */
-                               fill_pattern(td, io_u->buf, max_bs, io_u);
+                               fill_pattern(td, io_u->buf, max_bs, io_u, 0, 0);
                        }
                }
 
@@ -988,7 +989,7 @@ void reset_all_stats(struct thread_data *td)
                td->io_issues[i] = 0;
                td->ts.total_io_u[i] = 0;
        }
-       
+
        fio_gettime(&tv, NULL);
        td->ts.runtime[0] = 0;
        td->ts.runtime[1] = 0;