diff options
author | Miguel Botón <mboton.lkml@gmail.com> | 2008-01-04 23:34:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:09:29 -0800 |
commit | 01c20986cb2c2aa9c66603e9be14be5ebae99aca (patch) | |
tree | c6231169579a83d00ebf9ddfa17bf68df45701b1 | |
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>
-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, 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; } |