diff options
author | Artem B. Bityutskiy <dedekind@infradead.org> | 2005-08-17 09:42:09 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 14:24:15 -0500 |
commit | 01d445f89d68187c9ada7b58ca939dbb987c9fbd (patch) | |
tree | ba892404d00376bbec643883e27c263200b65bc0 /fs/jffs2 | |
parent | d4094661545662982278900220729982372b0e9a (diff) |
[JFFS2] Make the JFFS2 messages a bit nicer
Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/debug.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/jffs2/debug.h b/fs/jffs2/debug.h index 3a7b11c2dd86..676188ec7304 100644 --- a/fs/jffs2/debug.h +++ b/fs/jffs2/debug.h | |||
@@ -7,7 +7,7 @@ | |||
7 | * | 7 | * |
8 | * For licensing information, see the file 'LICENCE' in this directory. | 8 | * For licensing information, see the file 'LICENCE' in this directory. |
9 | * | 9 | * |
10 | * $Id: debug.h,v 1.12 2005/08/05 10:43:47 dedekind Exp $ | 10 | * $Id: debug.h,v 1.13 2005/08/17 13:42:06 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | #ifndef _JFFS2_DEBUG_H_ | 13 | #ifndef _JFFS2_DEBUG_H_ |
@@ -68,28 +68,28 @@ | |||
68 | #define JFFS2_ERROR(fmt, ...) \ | 68 | #define JFFS2_ERROR(fmt, ...) \ |
69 | do { \ | 69 | do { \ |
70 | printk(JFFS2_ERR_LVL JFFS2_ERR_MSG_PREFIX \ | 70 | printk(JFFS2_ERR_LVL JFFS2_ERR_MSG_PREFIX \ |
71 | " %d,%s: " fmt, current->pid, \ | 71 | " %d (%s): " fmt, current->pid, \ |
72 | __FUNCTION__, ##__VA_ARGS__); \ | 72 | __FUNCTION__, ##__VA_ARGS__); \ |
73 | } while(0) | 73 | } while(0) |
74 | 74 | ||
75 | #define JFFS2_WARNING(fmt, ...) \ | 75 | #define JFFS2_WARNING(fmt, ...) \ |
76 | do { \ | 76 | do { \ |
77 | printk(JFFS2_WARN_LVL JFFS2_WARN_MSG_PREFIX \ | 77 | printk(JFFS2_WARN_LVL JFFS2_WARN_MSG_PREFIX \ |
78 | " %d,%s: " fmt, current->pid, \ | 78 | " %d (%s): " fmt, current->pid, \ |
79 | __FUNCTION__, ##__VA_ARGS__); \ | 79 | __FUNCTION__, ##__VA_ARGS__); \ |
80 | } while(0) | 80 | } while(0) |
81 | 81 | ||
82 | #define JFFS2_NOTICE(fmt, ...) \ | 82 | #define JFFS2_NOTICE(fmt, ...) \ |
83 | do { \ | 83 | do { \ |
84 | printk(JFFS2_NOTICE_LVL JFFS2_NOTICE_MSG_PREFIX \ | 84 | printk(JFFS2_NOTICE_LVL JFFS2_NOTICE_MSG_PREFIX \ |
85 | " %d,%s: " fmt, current->pid, \ | 85 | " %d (%s): " fmt, current->pid, \ |
86 | __FUNCTION__, ##__VA_ARGS__); \ | 86 | __FUNCTION__, ##__VA_ARGS__); \ |
87 | } while(0) | 87 | } while(0) |
88 | 88 | ||
89 | #define JFFS2_DEBUG(fmt, ...) \ | 89 | #define JFFS2_DEBUG(fmt, ...) \ |
90 | do { \ | 90 | do { \ |
91 | printk(JFFS2_DBG_LVL JFFS2_DBG_MSG_PREFIX \ | 91 | printk(JFFS2_DBG_LVL JFFS2_DBG_MSG_PREFIX \ |
92 | " %d,%s: " fmt, current->pid, \ | 92 | " %d (%s): " fmt, current->pid, \ |
93 | __FUNCTION__, ##__VA_ARGS__); \ | 93 | __FUNCTION__, ##__VA_ARGS__); \ |
94 | } while(0) | 94 | } while(0) |
95 | 95 | ||