From d0a14a9dbdf613d9307c4b748b03a11678fe8d16 Mon Sep 17 00:00:00 2001 From: Per Liden Date: Wed, 11 Jan 2006 13:52:51 +0100 Subject: [TIPC] Cleaned up info/warn/err macros Signed-off-by: Per Liden --- net/tipc/core.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net/tipc/core.h') diff --git a/net/tipc/core.h b/net/tipc/core.h index 4b29fb63c8fe..4f71fde023e1 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h @@ -117,9 +117,9 @@ void tipc_dump(struct print_buf*,const char *fmt, ...); * - debug messages are not printed */ -#define err(fmt, arg...) printk(KERN_ERR "%s: " fmt "\n" , __FILE__ , ## arg) -#define info(fmt, arg...) printk(KERN_INFO "%s: " fmt "\n" , __FILE__ , ## arg) -#define warn(fmt, arg...) printk(KERN_WARNING "%s: " fmt "\n" , __FILE__ , ## arg) +#define err(fmt, arg...) printk(KERN_ERR "TIPC: " fmt , ## arg) +#define info(fmt, arg...) printk(KERN_INFO "TIPC: " fmt , ## arg) +#define warn(fmt, arg...) printk(KERN_WARNING "TIPC: " fmt , ## arg) #define dbg(fmt, arg...) do {} while (0) #define msg_dbg(msg,txt) do {} while (0) -- cgit v1.2.3-58-ga151