From: Jens Axboe Date: Tue, 26 Feb 2013 12:54:20 +0000 (+0100) Subject: gettime: print 64-bit variable with ULL X-Git-Tag: fio-2.0.15~50^2~2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=0f78b22cb13d2e59b134ee80bafa669679504bd6;p=fio.git gettime: print 64-bit variable with ULL Signed-off-by: Jens Axboe --- diff --git a/gettime.c b/gettime.c index 660ba4c8..4c998e5f 100644 --- a/gettime.c +++ b/gettime.c @@ -497,7 +497,8 @@ static void *clock_thread_fn(void *data) c->tsc = tsc; } - log_info("cs: cpu%3d: %lu clocks seen\n", t->cpu, t->entries[i - 1].tsc - t->entries[0].tsc); + log_info("cs: cpu%3d: %llu clocks seen\n", t->cpu, + (unsigned long long) t->entries[i - 1].tsc - t->entries[0].tsc); /* * The most common platform clock breakage is returning zero