[PATCH] blkrawverify: u64 types need %llu format
authorJens Axboe <axboe@suse.de>
Thu, 26 Jan 2006 19:07:26 +0000 (20:07 +0100)
committerJens Axboe <axboe@suse.de>
Thu, 26 Jan 2006 19:07:26 +0000 (20:07 +0100)
blkrawverify.c

index 6e0dbcc7687759ddf67d90450b99d4dd62eb7d4e..8abbda7ba747301dd302d9d228bbc30a7ee0248c 100644 (file)
@@ -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);