2.1.16, patch for warning message in ni52.c

Keith Owens (kaos@ocs.com.au)
Sun, 22 Dec 1996 17:09:30 +1100


Trying to compile a kernel with every legal option turned on.
Warning message in ni52.c, patch follows.

diff -ur linux-2.1.16.orig/drivers/net/ni52.c linux/drivers/net/ni52.c
--- linux-2.1.16.orig/drivers/net/ni52.c Wed Oct 9 16:57:20 1996
+++ linux/drivers/net/ni52.c Sun Dec 22 16:53:20 1996
@@ -1163,7 +1163,7 @@
return 0;
if(skb->len > XMIT_BUFF_SIZE)
{
- printk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %ld bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len);
+ printk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %d bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len);
return 0;
}