diff options
author | Miguel Botón <mboton.lkml@gmail.com> | 2008-01-04 17:34:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:09:29 -0500 |
commit | 01c20986cb2c2aa9c66603e9be14be5ebae99aca (patch) | |
tree | c6231169579a83d00ebf9ddfa17bf68df45701b1 /drivers/net/wireless/iwlwifi/iwl-4965.c | |
parent | 93d2334f3773c0d4e8dfafdb394f73bb1bdf0cc9 (diff) |
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/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 2 |
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 74999af37914..0f58acabb973 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, | |||
3616 | if (skb_headroom(skb) < sizeof(*iwl4965_rt)) { | 3616 | if (skb_headroom(skb) < sizeof(*iwl4965_rt)) { |
3617 | if (net_ratelimit()) | 3617 | if (net_ratelimit()) |
3618 | printk(KERN_ERR "not enough headroom [%d] for " | 3618 | printk(KERN_ERR "not enough headroom [%d] for " |
3619 | "radiotap head [%d]\n", | 3619 | "radiotap head [%zd]\n", |
3620 | skb_headroom(skb), sizeof(*iwl4965_rt)); | 3620 | skb_headroom(skb), sizeof(*iwl4965_rt)); |
3621 | return; | 3621 | return; |
3622 | } | 3622 | } |