aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-01-16 05:56:33 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:10:11 -0500
commitd2594d07abdbf49f9bd3df7e02708716de0f59e9 (patch)
tree3fa5267625b6b6400e272616d8a4306b8ccd6ceb /drivers
parent222b01b7fef6e7ebea9e76ce08a783571569797b (diff)
drivers/net/wireless/iwlwifi/iwl-3945.c: fix printk warning
drivers/net/wireless/iwlwifi/iwl-3945.c: In function 'iwl3945_add_radiotap': drivers/net/wireless/iwlwifi/iwl-3945.c:269: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c
index 0779a23729e5..76c4ed1135f2 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.c
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.c
@@ -265,7 +265,7 @@ void iwl3945_add_radiotap(struct iwl3945_priv *priv, struct sk_buff *skb,
265 if (skb_headroom(skb) < sizeof(*iwl3945_rt)) { 265 if (skb_headroom(skb) < sizeof(*iwl3945_rt)) {
266 if (net_ratelimit()) 266 if (net_ratelimit())
267 printk(KERN_ERR "not enough headroom [%d] for " 267 printk(KERN_ERR "not enough headroom [%d] for "
268 "radiotap head [%d]\n", 268 "radiotap head [%zd]\n",
269 skb_headroom(skb), sizeof(*iwl3945_rt)); 269 skb_headroom(skb), sizeof(*iwl3945_rt));
270 return; 270 return;
271 } 271 }