projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
audit: comparison on interprocess fields
[cascardo/linux.git]
/
kernel
/
res_counter.c
diff --git
a/kernel/res_counter.c
b/kernel/res_counter.c
index
34683ef
..
6d269cc
100644
(file)
--- a/
kernel/res_counter.c
+++ b/
kernel/res_counter.c
@@
-159,8
+159,7
@@
int res_counter_memparse_write_strategy(const char *buf,
return 0;
}
- /* FIXME - make memparse() take const char* args */
- *res = memparse((char *)buf, &end);
+ *res = memparse(buf, &end);
if (*end != '\0')
return -EINVAL;