commit | 176167ad9e44df221454e65e2ea83c3079950073 | [log] [tgz] |
---|---|---|
author | Masanari Iida <standby24x7@gmail.com> | Mon Apr 28 12:38:34 2014 +0900 |
committer | Jens Axboe <axboe@fb.com> | Wed Apr 30 15:56:10 2014 -0600 |
tree | 8eb0091fe554f89ef58b55114bc9381c1081f784 | |
parent | c6d600c65ebfa10a2a10d3e9183a24527ebe2aa4 [diff] [blame] |
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>
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 5063a0b..22dffeb 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c
@@ -4460,7 +4460,7 @@ 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