projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d600c
)
block: Fix format string mismatch in cfq-iosched.c
author
Masanari Iida
<standby24x7@gmail.com>
Mon, 28 Apr 2014 03:38:34 +0000
(12:38 +0900)
committer
Jens Axboe
<axboe@fb.com>
Wed, 30 Apr 2014 21:56:10 +0000
(15:56 -0600)
Fix format string mismatch in cfq_var_show()
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/cfq-iosched.c
patch
|
blob
|
blame
|
history
diff --git
a/block/cfq-iosched.c
b/block/cfq-iosched.c
index 5063a0bd831aaaab177f2582fbfc43ca13a6125c..22dffebc7c73531ec235e27e188f66fa88b677d8 100644
(file)
--- 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