[Bridge] [PATCH] bridge: fix gcc format warning

Randy.Dunlap rddunlap at osdl.org
Mon Jan 10 14:53:53 PST 2005


Linux 2.6.10-bk13

Fix gcc format warning:
net/bridge/netfilter/ebt_ulog.c:138: warning: int format, different type arg (arg 2)

Signed-off-by: Randy Dunlap <rddunlap at osdl.org>

diffstat:=
 net/bridge/netfilter/ebt_ulog.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

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