From 595a23fe1527261316e28d18cd06ac4b391d7ad1 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Fri, 5 Sep 2014 20:41:48 -0700 Subject: [PATCH] iwl4965: fix %d confusingly prefixed with 0x in format string Signed-off-by: Hans Wennborg Signed-off-by: John W. Linville --- drivers/net/wireless/iwlegacy/4965-mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index 3dcbe2cd2b28..cf7996f4321c 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c @@ -4633,7 +4633,7 @@ il4965_store_tx_power(struct device *d, struct device_attribute *attr, else { ret = il_set_tx_power(il, val, false); if (ret) - IL_ERR("failed setting tx power (0x%d).\n", ret); + IL_ERR("failed setting tx power (0x%08x).\n", ret); else ret = count; } -- 2.39.5