From c0cb7fabc87d26a8ec1a7a5d3b347e54b9ae65cc Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sat, 28 Jan 2006 20:06:28 +0100 Subject: [PATCH] [PATCH] blkrawverify: cast __u64 to unsigned long long for printing --- blkrawverify.c | 4 ++-- 1 file 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); -- 2.25.1