summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/cfg80211.c
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-06 06:42:55 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-08-25 22:17:29 +0200
commite2261afd4caaf1a6473eddbcbd8a5c5eb593316e (patch)
tree18d15030970a2acb8fbe5315e54ee9f51948cbc0 /drivers/net/wireless/mwifiex/cfg80211.c
parentcw1200: Introduce the use of devm_kzalloc (diff)
downloadlinux-e2261afd4caaf1a6473eddbcbd8a5c5eb593316e.tar.xz
linux-e2261afd4caaf1a6473eddbcbd8a5c5eb593316e.zip
mwifiex: fix decimal printf format specifiers prefixed with 0x
The prefix suggests the number should be printed in hex, so use the %x specifier to do that. Found by using regex suggested by Joe Perches. Signed-off-by: Hans Wennborg <hans@hanshq.net> Acked-by: Avinash Patil <patila@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/cfg80211.c')
-rw-r--r--drivers/net/wireless/mwifiex/cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index e2e6bf13c2d8..2856f0ecb8fc 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -246,7 +246,7 @@ mwifiex_cfg80211_remain_on_channel(struct wiphy *wiphy,
}
if (priv->roc_cfg.cookie) {
- wiphy_dbg(wiphy, "info: ongoing ROC, cookie = 0x%llu\n",
+ wiphy_dbg(wiphy, "info: ongoing ROC, cookie = 0x%llx\n",
priv->roc_cfg.cookie);
return -EBUSY;
}