diff options
Diffstat (limited to 'include/linux/bug.h')
-rw-r--r-- | include/linux/bug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/bug.h b/include/linux/bug.h index e25568c8..f8929688 100644 --- a/include/linux/bug.h +++ b/include/linux/bug.h @@ -15,7 +15,7 @@ #define BUG_ON(cond) assert(!(cond)) #define WARN_ON_ONCE(cond) ({ bool _r = (cond); if (_r) assert(0); _r; }) -#define WARN_ONCE(cond, msg) ({ bool _r = (cond); if (_r) assert(0); _r; }) +#define WARN_ONCE(cond, ...) ({ bool _r = (cond); if (_r) assert(0); _r; }) #define __WARN() assert(0) #define __WARN_printf(arg...) assert(0) |