summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2008-01-31 03:58:56 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:27:32 -0800
commit000e8a53540b75a885efeb00ec1f1cb3c8d0bead (patch)
treee5a9b4451e4d1bf51c697f540f3d254b23ec9d4e /include
parentb41649989c9640e54e47001994b7ecb927ea1822 (diff)
downloadlinux-000e8a53540b75a885efeb00ec1f1cb3c8d0bead.tar.gz
linux-000e8a53540b75a885efeb00ec1f1cb3c8d0bead.tar.bz2
linux-000e8a53540b75a885efeb00ec1f1cb3c8d0bead.zip
[NETFILTER]: nf_log: add netfilter gcc printf format checking
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>
Diffstat (limited to 'include')
-rw-r--r--include/net/netfilter/nf_log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_log.h b/include/net/netfilter/nf_log.h
index 037e82403f91..8c6b5ae45534 100644
--- a/include/net/netfilter/nf_log.h
+++ b/include/net/netfilter/nf_log.h
@@ -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 */