Skip to content

Commit

Permalink
[NETFILTER]: nf_log: add netfilter gcc printf format checking
Browse files Browse the repository at this point in the history
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Helge Deller authored and David S. Miller committed Feb 1, 2008
1 parent b416499 commit 000e8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/netfilter/nf_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 000e8a5

Please sign in to comment.