fio: fix segfault on 32bits platforms
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index 66bea0a59a779340fa6f2fc747cb6d35a2a27ee4..581eead5b6bfae4e2d142484eb679a153ac4ec12 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -573,7 +573,7 @@ void show_thread_status(struct thread_stat *ts, struct group_run_stats *rs)
                                        ts->short_io_u[0], ts->short_io_u[1],
                                        ts->short_io_u[2]);
        if (ts->continue_on_error) {
-               log_info("     errors    : total=%lu, first_error=%d/<%s>\n",
+               log_info("     errors    : total=%llu, first_error=%d/<%s>\n",
                                        ts->total_err_count,
                                        ts->first_error,
                                        strerror(ts->first_error));