diff options
Diffstat (limited to 'include/net/irda/irda.h')
-rw-r--r-- | include/net/irda/irda.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/irda/irda.h b/include/net/irda/irda.h index 8bdfee75a..41ad4aa0f 100644 --- a/include/net/irda/irda.h +++ b/include/net/irda/irda.h @@ -66,9 +66,9 @@ extern __u32 irda_debug; #define IRDA_DEBUG(n, args...) (irda_debug >= (n)) ? (printk(KERN_DEBUG args)) : 0 #define ASSERT(expr, func) \ if(!(expr)) { \ - printk( "Assertion failed! %s,%s,%s,line=%d\n",\ - #expr,__FILE__,__FUNCTION__,__LINE__); \ - ##func} + printk( "Assertion failed! %s:%s:%d %s\n", \ + __FILE__,__FUNCTION__,__LINE__,(#expr)); \ + func } #else #define IRDA_DEBUG(n, args...) #define ASSERT(expr, func) |