X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=net%2Fcore%2Fnet-sysfs.c;fp=net%2Fcore%2Fnet-sysfs.c;h=7bd6440c63bf5718fffce286f871ecedb1734adf;hp=e353b822bb1574e177438023e3139dc01d1d93af;hb=9bb5fbea59f36a589ef886292549ca4052fe676c;hpb=015c5d5e6aa3523c758a70eb87b291cece2dbbb4 diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index e353b822bb15..7bd6440c63bf 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -1108,7 +1108,7 @@ static ssize_t tx_timeout_show(struct netdev_queue *queue, char *buf) trans_timeout = queue->trans_timeout; spin_unlock_irq(&queue->_xmit_lock); - return sprintf(buf, "%lu", trans_timeout); + return sprintf(buf, fmt_ulong, trans_timeout); } static unsigned int get_netdev_queue_index(struct netdev_queue *queue)