diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/reg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 89c3e68a1cc6..f79d6613c5ff 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c | |||
@@ -44,12 +44,12 @@ | |||
44 | #include "nl80211.h" | 44 | #include "nl80211.h" |
45 | 45 | ||
46 | #ifdef CONFIG_CFG80211_REG_DEBUG | 46 | #ifdef CONFIG_CFG80211_REG_DEBUG |
47 | #define REG_DBG_PRINT(args...) \ | 47 | #define REG_DBG_PRINT(format, args...) \ |
48 | do { \ | 48 | do { \ |
49 | printk(KERN_DEBUG args); \ | 49 | printk(KERN_DEBUG format , ## args); \ |
50 | } while (0) | 50 | } while (0) |
51 | #else | 51 | #else |
52 | #define REG_DBG_PRINT(args) | 52 | #define REG_DBG_PRINT(args...) |
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | /* Receipt of information from last regulatory request */ | 55 | /* Receipt of information from last regulatory request */ |