Commit 000e8a53 authored by Helge Deller's avatar Helge Deller Committed by David S. Miller
Browse files

[NETFILTER]: nf_log: add netfilter gcc printf format checking

Signed-off-by: default avatarHelge Deller <>
Signed-off-by: default avatarPatrick McHardy <>
Signed-off-by: default avatarDavid S. Miller <>
parent b4164998
......@@ -54,6 +54,6 @@ void nf_log_packet(int pf,
const struct net_device *in,
const struct net_device *out,
const struct nf_loginfo *li,
const char *fmt, ...);
const char *fmt, ...) __attribute__ ((format(printf,7,8)));
#endif /* _NF_LOG_H */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment