]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/netfilter/nf_log.h
[NETFILTER]: nf_log: add netfilter gcc printf format checking
[linux-2.6-omap-h63xx.git] / include / net / netfilter / nf_log.h
index 037e82403f916244926973a4e7c2c35774fea00e..8c6b5ae45534463591cce0f86e371f46d655b484 100644 (file)
@@ -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 */