From: Phil Sutter Date: Fri, 13 May 2022 14:51:58 +0000 (+0200) Subject: xshared: Fix build for -Werror=format-security X-Git-Tag: v1.8.9~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b72eb12ea5a61df0655ad99d5048994e916be83a;p=thirdparty%2Fiptables.git xshared: Fix build for -Werror=format-security Gcc complains about the omitted format string. Signed-off-by: Phil Sutter --- 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); }