summaryrefslogtreecommitdiff
path: root/block/blk-mq-debugfs.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2019-06-14 14:39:26 +0300
committerJens Axboe <axboe@kernel.dk>2019-06-15 10:38:59 +0300
commit315eb656649db680af06c5e56c6cb77c858cbe45 (patch)
tree2f5b7e3fa7aa2f5fadc155c9ce045ccc511c6327 /block/blk-mq-debugfs.c
parente9eeba28a1e01a55b49cdcf9c7a346d2aaa0aa7d (diff)
downloadlinux-315eb656649db680af06c5e56c6cb77c858cbe45.tar.xz
blk-mq/debugfs: Fix improper print qualifier
struct blk_rq_stat::mean is a u64 value, so use %llu Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.c')
-rw-r--r--block/blk-mq-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
index 2489ddbb21db..f0550be60824 100644
--- a/block/blk-mq-debugfs.c
+++ b/block/blk-mq-debugfs.c
@@ -17,7 +17,7 @@
static void print_stat(struct seq_file *m, struct blk_rq_stat *stat)
{
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);
} else {
seq_puts(m, "samples=0");