diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-06-14 14:39:26 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-15 01:38:59 -0600 |
commit | 315eb656649db680af06c5e56c6cb77c858cbe45 (patch) | |
tree | 2f5b7e3fa7aa2f5fadc155c9ce045ccc511c6327 | |
parent | e9eeba28a1e01a55b49cdcf9c7a346d2aaa0aa7d (diff) | |
download | linux-stable-315eb656649db680af06c5e56c6cb77c858cbe45.tar.gz linux-stable-315eb656649db680af06c5e56c6cb77c858cbe45.tar.bz2 linux-stable-315eb656649db680af06c5e56c6cb77c858cbe45.zip |
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>
-rw-r--r-- | block/blk-mq-debugfs.c | 2 |
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"); |