mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
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>
This commit is contained in:
parent
c6d600c65e
commit
176167ad9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user