mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
usbnet: Print device statistics as unsigned
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4472702e65
commit
8ccef431a2
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user