updated patch below ================= [PATCH] add netfilter gcc printf format checking Signed-off-by: Helge Deller <deller@xxxxxx> diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index 16adac6..5d9ecdc 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -181,7 +181,7 @@ void nf_log_packet(int pf, const struct net_device *in, const struct net_device *out, struct nf_loginfo *li, - const char *fmt, ...); + const char *fmt, ...) __attribute__ ((format(printf,7,8))); int nf_hook_slow(int pf, unsigned int hook, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, - 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