Commit 315eb656 authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Jens Axboe

blk-mq/debugfs: Fix improper print qualifier

struct blk_rq_stat::mean is a u64 value, so use %llu
Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e9eeba28
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
static void print_stat(struct seq_file *m, struct blk_rq_stat *stat) static void print_stat(struct seq_file *m, struct blk_rq_stat *stat)
{ {
if (stat->nr_samples) { if (stat->nr_samples) {
seq_printf(m, "samples=%d, mean=%lld, min=%llu, max=%llu", seq_printf(m, "samples=%d, mean=%llu, min=%llu, max=%llu",
stat->nr_samples, stat->mean, stat->min, stat->max); stat->nr_samples, stat->mean, stat->min, stat->max);
} else { } else {
seq_puts(m, "samples=0"); seq_puts(m, "samples=0");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment