[Bridge] [EBTABLES][PATCH] fix gcc format warning

Bart De Schuymer bdschuym at pandora.be
Wed Jan 12 12:37:36 PST 2005


Hi Dave,

Please apply this compiler warning fix from Randy.


Signed-off-by: Bart De Schuymer <bdschuym at telenet.be>
Signed-off-by: Randy Dunlap <rddunlap at osdl.org>


diff -Naurp ./net/bridge/netfilter/ebt_ulog.c~brnetf_types ./net/bridge/netfilter/ebt_ulog.c
--- ./net/bridge/netfilter/ebt_ulog.c~brnetf_types	2005-01-10 10:38:40.531343592 -0800
+++ ./net/bridge/netfilter/ebt_ulog.c	2005-01-10 12:31:10.076256800 -0800
@@ -135,7 +135,7 @@ static void ebt_ulog(const struct sk_buf
 
 	size = NLMSG_SPACE(sizeof(*pm) + copy_len);
 	if (size > nlbufsiz) {
-		PRINTR("ebt_ulog: Size %d needed, but nlbufsiz=%d\n",
+		PRINTR("ebt_ulog: Size %zu needed, but nlbufsiz=%u\n",
 		       size, nlbufsiz);
 		return;
 	}





More information about the Bridge mailing list