audit: comparison on interprocess fields
[cascardo/linux.git] / kernel / res_counter.c
index 34683ef..6d269cc 100644 (file)
@@ -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;