updated patch against net-2.6.25 git tree below ============================= [PATCH] add netfilter gcc printf format checking Signed-off-by: Helge Deller <deller@xxxxxx> diff --git a/include/net/netfilter/nf_log.h b/include/net/netfilter/nf_log.h index 037e824..8c6b5ae 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 */ - To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html