From: Masanari Iida Date: Mon, 28 Apr 2014 03:38:34 +0000 (+0900) Subject: block: Fix format string mismatch in cfq-iosched.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=176167ad9e44df221454e65e2ea83c3079950073;p=linux-beck.git block: Fix format string mismatch in cfq-iosched.c Fix format string mismatch in cfq_var_show() Signed-off-by: Masanari Iida Signed-off-by: Jens Axboe --- 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