projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
985ee30
)
gettime: print 64-bit variable with ULL
author
Jens Axboe
<axboe@kernel.dk>
Tue, 26 Feb 2013 12:54:20 +0000
(13:54 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 26 Feb 2013 12:55:43 +0000
(13:55 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
gettime.c
patch
|
blob
|
blame
|
history
diff --git
a/gettime.c
b/gettime.c
index 660ba4c8864ddfbe1147fe84eb213e1309462bad..4c998e5ff89f1dc72503f01f2552cdde78538437 100644
(file)
--- 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