xshared: Fix build for -Werror=format-security
Phil Sutter
reviewerPATCH 1/1 xshared: Fix build for -Werror=format-security
Gcc complains about the omitted format string.
Signed-off-by Phil Sutter <[email protected]>
--- iptables/xshared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
iptables/xshared.c +1 -1
@@ -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); }
Signature · 1 line
2.34.1