diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 7614a4f42bfc0ffb8e7a8d2f8ba8d18ca3514d43..001d7f07e78038f5045aa935d523fb53a4f32e48 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -1045,7 +1045,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)