Skip to contentSkip to conversation

usbnet: Print device statistics as unsigned

PATCH In review Ben Hutchings 1 participant 1 message Jun 8, 2010

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 usbnet: Print device statistics as unsigned

---
 drivers/net/usb/usbnet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/usb/usbnet.c +1 -1
index a95c73d..44115ee 100644
@@ -643,7 +643,7 @@ int usbnet_stop (struct net_device *net)
 	netif_stop_queue (net);
 
 	netif_info(dev, ifdown, dev->net,
-		   "stop stats: rx/tx %ld/%ld, errs %ld/%ld\n",
+		   "stop stats: rx/tx %lu/%lu, errs %lu/%lu\n",
 		   net->stats.rx_packets, net->stats.tx_packets,
 		   net->stats.rx_errors, net->stats.tx_errors);
 
Signature · 7 lines
1.6.2.5


-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.