From: Dmitry Monakhov Date: Mon, 15 Apr 2013 09:23:25 +0000 (+0200) Subject: fio: fix segfault on 32bits platforms X-Git-Tag: fio-2.1~34 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=e9d806fa2661cf685fc5c5d0172ff15193c9c8b1 fio: fix segfault on 32bits platforms Uses wrong type in log_info(). Signed-off-by: Dmitry Monakhov Signed-off-by: Jens Axboe --- diff --git a/stat.c b/stat.c index 66bea0a5..581eead5 100644 --- 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));