summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-05-13 16:51:58 +0200
committerPhil Sutter <phil@nwl.cc>2022-05-13 17:02:43 +0200
commitb72eb12ea5a61df0655ad99d5048994e916be83a (patch)
treefe21d6ed884fe54277368ba3069ad05c03c67029
parentfa0ccdbdbec467ee6a562d5de38eaaefa1016ad7 (diff)
xshared: Fix build for -Werror=format-security
Gcc complains about the omitted format string. Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r--iptables/xshared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xshared.c b/iptables/xshared.c
index fae5ddd5..a8512d38 100644
--- a/iptables/xshared.c
+++ b/iptables/xshared.c
@@ -1307,7 +1307,7 @@ static void check_empty_interface(struct xtables_args *args, const char *arg)
return;
if (args->family != NFPROTO_ARP)
- xtables_error(PARAMETER_PROBLEM, msg);
+ xtables_error(PARAMETER_PROBLEM, "%s", msg);
fprintf(stderr, "%s", msg);
}