From: Ben Hutchings Date: Tue, 8 Jun 2010 08:20:59 +0000 (+0000) Subject: usbnet: Print device statistics as unsigned X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8ccef431a2994bb8a722d0fbc6c6da2bdbf86834;p=linux.git usbnet: Print device statistics as unsigned Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index a95c73de5824c..44115eea57f99 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);