From: Jens Axboe Date: Thu, 26 Jan 2006 19:07:26 +0000 (+0100) Subject: [PATCH] blkrawverify: u64 types need %llu format X-Git-Tag: blktrace-0.99.1~108 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=b1a3b0ed93c337ca0eb139260256489003c401f1;p=blktrace.git [PATCH] blkrawverify: u64 types need %llu format --- diff --git a/blkrawverify.c b/blkrawverify.c index 6e0dbcc..8abbda7 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: %lu\n", "time", bit->time); - fprintf(ofp, " %8s: %lu\n", "sector", bit->sector); + fprintf(ofp, " %8s: %llu\n", "time", bit->time); + fprintf(ofp, " %8s: %llu\n", "sector", 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);