From: Miguel Botón Date: Fri, 4 Jan 2008 22:34:35 +0000 (+0100) Subject: iwlwifi: fix compilation warning in 'iwl-4965.c' X-Git-Tag: v2.6.25-rc1~1162^2~159 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=01c20986cb2c2aa9c66603e9be14be5ebae99aca;p=linux-2.6-omap-h63xx.git 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 --- 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; }