Return-path: Received: from s87.loopia.se ([194.9.94.111]:38001 "EHLO s87.loopia.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750804AbaIFDnM (ORCPT ); Fri, 5 Sep 2014 23:43:12 -0400 From: Hans Wennborg To: linville@tuxdriver.com, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Hans Wennborg Subject: [PATCH 1/1] iwl4965: fix %d confusingly prefixed with 0x in format string Date: Fri, 5 Sep 2014 20:41:48 -0700 Message-Id: <1409974908-8035-1-git-send-email-hans@hanshq.net> (sfid-20140906_054346_016979_8FC77063) In-Reply-To: <20140825201801.GH1966@tuxdriver.com> References: <20140825201801.GH1966@tuxdriver.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: Signed-off-by: Hans Wennborg --- 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 3dcbe2c..cf7996f 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.1.0.rc2.206.gedb03e5