summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables/xtables-restore.c')
-rw-r--r--iptables/xtables-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-restore.c b/iptables/xtables-restore.c
index f127093d..f9392457 100644
--- a/iptables/xtables-restore.c
+++ b/iptables/xtables-restore.c
@@ -78,7 +78,7 @@ static int newargc;
/* function adding one argument to newargv, updating newargc
* returns true if argument added, false otherwise */
-static int add_argv(char *what) {
+static int add_argv(const char *what) {
DEBUGP("add_argv: %s\n", what);
if (what && newargc + 1 < ARRAY_SIZE(newargv)) {
newargv[newargc] = strdup(what);