summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Braione <schizophonic@tiscali.it>2014-09-01 23:10:14 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-09-01 23:10:49 +0200
commitce5ce65631b20514189a8abe39fc096db1e8837c (patch)
tree11eaf8bc4efc11b2378b2dd50bfc24d1e25bd493
parent91f0887ca2345c2bd02747e4b437076641d77cd9 (diff)
Fix printf warning
linux/src/drivers/net/sundance.c (start_tx): Fix format string according to parameter.
-rw-r--r--linux/src/drivers/net/sundance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/src/drivers/net/sundance.c b/linux/src/drivers/net/sundance.c
index 47f32eb..3723164 100644
--- a/linux/src/drivers/net/sundance.c
+++ b/linux/src/drivers/net/sundance.c
@@ -986,7 +986,7 @@ static int start_tx(struct sk_buff *skb, struct net_device *dev)
dev->trans_start = jiffies;
if (np->msg_level & NETIF_MSG_TX_QUEUED) {
- printk(KERN_DEBUG "%s: Transmit frame #%d len %ld queued in slot %ld.\n",
+ printk(KERN_DEBUG "%s: Transmit frame #%d len %ld queued in slot %u.\n",
dev->name, np->cur_tx, skb->len, entry);
}
return 0;