summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-09-06 07:41:48 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-09-11 23:26:29 +0400
commit595a23fe1527261316e28d18cd06ac4b391d7ad1 (patch)
treea9b5757b97ec704c422817ed8a6250b1a54cf8fe
parent1716bcf3f76fe71e98d4851a3eb73ea3d93d4773 (diff)
downloadlinux-595a23fe1527261316e28d18cd06ac4b391d7ad1.tar.xz
iwl4965: fix %d confusingly prefixed with 0x in format string
Signed-off-by: Hans Wennborg <hans@hanshq.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlegacy/4965-mac.c2
1 files changed, 1 insertions, 1 deletions
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;
}