summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-09-06 05:41:48 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-09-11 21:26:29 +0200
commit595a23fe1527261316e28d18cd06ac4b391d7ad1 (patch)
treea9b5757b97ec704c422817ed8a6250b1a54cf8fe /drivers/net/wireless/iwlegacy
parentbcma: add support for chipcommon B core (diff)
downloadlinux-595a23fe1527261316e28d18cd06ac4b391d7ad1.tar.xz
linux-595a23fe1527261316e28d18cd06ac4b391d7ad1.zip
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>
Diffstat (limited to 'drivers/net/wireless/iwlegacy')
-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;
}