summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMiguel Botón <mboton.lkml@gmail.com>2008-01-04 23:34:35 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:09:29 -0800
commit01c20986cb2c2aa9c66603e9be14be5ebae99aca (patch)
treec6231169579a83d00ebf9ddfa17bf68df45701b1 /drivers
parent93d2334f3773c0d4e8dfafdb394f73bb1bdf0cc9 (diff)
downloadkernel-crypto-01c20986cb2c2aa9c66603e9be14be5ebae99aca.tar.gz
kernel-crypto-01c20986cb2c2aa9c66603e9be14be5ebae99aca.tar.xz
kernel-crypto-01c20986cb2c2aa9c66603e9be14be5ebae99aca.zip
iwlwifi: fix compilation warning in 'iwl-4965.c'
This patch fixes a compilation warning in 'iwl-4965.c'. "warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’" Signed-off-by: Miguel Botón <mboton@gmail.com Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index 74999af3791..0f58acabb97 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -3616,7 +3616,7 @@ static void iwl4965_add_radiotap(struct iwl4965_priv *priv,
if (skb_headroom(skb) < sizeof(*iwl4965_rt)) {
if (net_ratelimit())
printk(KERN_ERR "not enough headroom [%d] for "
- "radiotap head [%d]\n",
+ "radiotap head [%zd]\n",
skb_headroom(skb), sizeof(*iwl4965_rt));
return;
}