From 0f78b22cb13d2e59b134ee80bafa669679504bd6 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 26 Feb 2013 13:54:20 +0100 Subject: [PATCH] gettime: print 64-bit variable with ULL Signed-off-by: Jens Axboe --- gettime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.25.1