[EBTABLES][PATCH] fix gcc format warning

Bart De Schuymer <[email protected]>
Newsgroups gmane.linux.network.bridge,gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
Hi Dave,

Please apply this compiler warning fix from Randy.


Signed-off-by: Bart De Schuymer <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>


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;
 	}

_______________________________________________
Bridge mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/bridge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.