netfilter: conntrack: use correct format characters
authorBill Wendling <isanbard@gmail.com>
Thu, 9 Jun 2022 22:16:31 +0000 (22:16 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 11 Jul 2022 14:25:14 +0000 (16:25 +0200)
commitb8acd43148c067376f76faed9be138aa0e25414c
treeb79fafe1c9e7daa25ab0d12e1a1cbcafc40b1692
parent6be791561212684c7fef6c864aa542b4d3e9db36
netfilter: conntrack: use correct format characters

When compiling with -Wformat, clang emits the following warnings:

net/netfilter/nf_conntrack_helper.c:168:18: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
                request_module(mod_name);
                               ^~~~~~~~

Use a string literal for the format string.

Link: https://github.com/ClangBuiltLinux/linux/issues/378
Signed-off-by: Bill Wendling <isanbard@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_helper.c