summaryrefslogtreecommitdiff
path: root/blkrawverify.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-01-28 20:06:28 +0100
committerJens Axboe <axboe@suse.de>2006-01-28 20:06:28 +0100
commitc0cb7fabc87d26a8ec1a7a5d3b347e54b9ae65cc (patch)
tree3e5224a4e68342c02640bea6c10dbfc5847029c0 /blkrawverify.c
parent79ee97049eba635757c474a66f133822f3edff78 (diff)
downloadblktrace-c0cb7fabc87d26a8ec1a7a5d3b347e54b9ae65cc.tar.gz
blktrace-c0cb7fabc87d26a8ec1a7a5d3b347e54b9ae65cc.tar.bz2
[PATCH] blkrawverify: cast __u64 to unsigned long long for printing
Diffstat (limited to 'blkrawverify.c')
-rw-r--r--blkrawverify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/blkrawverify.c b/blkrawverify.c
index 88d91a5..79fa567 100644
--- a/blkrawverify.c
+++ b/blkrawverify.c
@@ -101,8 +101,8 @@ static void dump_trace(FILE *ofp, char *prefix, struct blk_io_trace *bit)
fprintf(ofp, " Dump %s\n", prefix);
fprintf(ofp, " %8s: %08x\n", "magic", bit->magic);
fprintf(ofp, " %8s: %u\n", "sequence", bit->sequence);
- fprintf(ofp, " %8s: %llu\n", "time", bit->time);
- fprintf(ofp, " %8s: %llu\n", "sector", bit->sector);
+ fprintf(ofp, " %8s: %llu\n", "time", (unsigned long long) bit->time);
+ fprintf(ofp, " %8s: %llu\n", "sector", (unsigned long long) bit->sector);
fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes);
fprintf(ofp, " %8s: %s\n", "action", act_to_str(bit->action));
fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes);