summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/usbnet.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-06-08 10:20:59 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-13 03:18:33 +0200
commit8ccef431a2994bb8a722d0fbc6c6da2bdbf86834 (patch)
tree63a2fc3d4b454fe673301785c8394add7908bd07 /drivers/net/usb/usbnet.c
parentsfc: Implement 64-bit net device statistics on all architectures (diff)
downloadlinux-8ccef431a2994bb8a722d0fbc6c6da2bdbf86834.tar.xz
linux-8ccef431a2994bb8a722d0fbc6c6da2bdbf86834.zip
usbnet: Print device statistics as unsigned
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/usbnet.c')
-rw-r--r--drivers/net/usb/usbnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index a95c73de5824..44115eea57f9 100644
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
@@ -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);