patch-2.4.23 linux-2.4.23/net/irda/irnet/irnet.h
Next file: linux-2.4.23/net/irda/irqueue.c
Previous file: linux-2.4.23/net/irda/irlmp_frame.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/net/irda/irnet/irnet.h
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.22/net/irda/irnet/irnet.h linux-2.4.23/net/irda/irnet/irnet.h
@@ -324,27 +324,27 @@
/* All error messages (will show up in the normal logs) */
#define DERROR(dbg, args...) \
{if(DEBUG_##dbg) \
- printk(KERN_INFO "irnet: " __FUNCTION__ "(): " args);}
+ printk(KERN_INFO "irnet: %s(): ", __FUNCTION__); printk(args);}
/* Normal debug message (will show up in /var/log/debug) */
#define DEBUG(dbg, args...) \
{if(DEBUG_##dbg) \
- printk(KERN_DEBUG "irnet: " __FUNCTION__ "(): " args);}
+ printk(KERN_DEBUG "irnet: %s(): ", __FUNCTION__); printk(args);}
/* Entering a function (trace) */
#define DENTER(dbg, args...) \
{if(DEBUG_##dbg) \
- printk(KERN_DEBUG "irnet: ->" __FUNCTION__ args);}
+ printk(KERN_DEBUG "irnet: ->%s", __FUNCTION__); printk(args);}
/* Entering and exiting a function in one go (trace) */
#define DPASS(dbg, args...) \
{if(DEBUG_##dbg) \
- printk(KERN_DEBUG "irnet: <>" __FUNCTION__ args);}
+ printk(KERN_DEBUG "irnet: <>%s", __FUNCTION__); printk(args);}
/* Exiting a function (trace) */
#define DEXIT(dbg, args...) \
{if(DEBUG_##dbg) \
- printk(KERN_DEBUG "irnet: <-" __FUNCTION__ "()" args);}
+ printk(KERN_DEBUG "irnet: <-%s()", __FUNCTION__); printk(args);}
/* Exit a function with debug */
#define DRETURN(ret, dbg, args...) \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)