Fixes a compile error when debugging is turned on.

Signed-off-by: Jason Borg <[EMAIL PROTECTED]>
---

diff -uprN linux-2.6.18-rc4-orig/drivers/net/smc911x.c 
linux-2.6.18-rc4/drivers/net/smc911x.c
--- linux-2.6.18-rc4-orig/drivers/net/smc911x.c 2006-08-22 12:02:50.000000000 
-0400
+++ linux-2.6.18-rc4/drivers/net/smc911x.c      2006-08-22 15:35:01.674983089 
-0400
@@ -499,7 +499,7 @@ static inline void   smc911x_rcv(struct n
                SMC_SET_RX_CFG(RX_CFG_RX_END_ALGN4_ | ((2<<8) & 
RX_CFG_RXDOFF_));
                SMC_PULL_DATA(data, pkt_len+2+3);
 
-               DBG(SMC_DEBUG_PKTS, "%s: Received packet\n", dev->name,);
+               DBG(SMC_DEBUG_PKTS, "%s: Received packet\n", dev->name);
                PRINT_PKT(data, ((pkt_len - 4) <= 64) ? pkt_len - 4 : 64);
                dev->last_rx = jiffies;
                skb->dev = dev;


-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to