From 01c20986cb2c2aa9c66603e9be14be5ebae99aca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miguel=20Bot=C3=B3n?= Date: Fri, 4 Jan 2008 23:34:35 +0100 Subject: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- drivers/net/wireless/iwlwifi/iwl-4965.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.41.1