diff options
author | Masanari Iida <standby24x7@gmail.com> | 2014-04-28 05:38:34 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-30 23:56:10 +0200 |
commit | 176167ad9e44df221454e65e2ea83c3079950073 (patch) | |
tree | 8eb0091fe554f89ef58b55114bc9381c1081f784 /block | |
parent | blk-mq: refactor request insertion/merging (diff) | |
download | linux-176167ad9e44df221454e65e2ea83c3079950073.tar.xz linux-176167ad9e44df221454e65e2ea83c3079950073.zip |
block: Fix format string mismatch in cfq-iosched.c
Fix format string mismatch in cfq_var_show()
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/cfq-iosched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 5063a0bd831a..22dffebc7c73 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c @@ -4460,7 +4460,7 @@ out_free: static ssize_t cfq_var_show(unsigned int var, char *page) { - return sprintf(page, "%d\n", var); + return sprintf(page, "%u\n", var); } static ssize_t |