summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xtables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtables.c b/xtables.c
index ed082f3f..47a0d9cb 100644
--- a/xtables.c
+++ b/xtables.c
@@ -285,7 +285,7 @@ static char *get_modprobe(void)
if (procfile < 0)
return NULL;
- ret = (char *) malloc(PROCFILE_BUFSIZ);
+ ret = malloc(PROCFILE_BUFSIZ);
if (ret) {
memset(ret, 0, PROCFILE_BUFSIZ);
switch (read(procfile, ret, PROCFILE_BUFSIZ)) {