aboutsummaryrefslogtreecommitdiff
path: root/fs/jffs2/debug.h
diff options
context:
space:
mode:
authorArtem B. Bityutskiy <dedekind@infradead.org>2005-08-17 14:42:09 +0100
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-11-06 20:24:15 +0100
commit01d445f89d68187c9ada7b58ca939dbb987c9fbd (patch)
treeba892404d00376bbec643883e27c263200b65bc0 /fs/jffs2/debug.h
parentd4094661545662982278900220729982372b0e9a (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/debug.h')
-rw-r--r--fs/jffs2/debug.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/jffs2/debug.h b/fs/jffs2/debug.h
index 3a7b11c2dd8..676188ec730 100644
--- a/fs/jffs2/debug.h
+++ b/fs/jffs2/debug.h
@@ -7,7 +7,7 @@
*
* For licensing information, see the file 'LICENCE' in this directory.
*
- * $Id: debug.h,v 1.12 2005/08/05 10:43:47 dedekind Exp $
+ * $Id: debug.h,v 1.13 2005/08/17 13:42:06 dedekind Exp $
*
*/
#ifndef _JFFS2_DEBUG_H_
@@ -68,28 +68,28 @@
#define JFFS2_ERROR(fmt, ...) \
do { \
printk(JFFS2_ERR_LVL JFFS2_ERR_MSG_PREFIX \
- " %d,%s: " fmt, current->pid, \
+ " %d (%s): " fmt, current->pid, \
__FUNCTION__, ##__VA_ARGS__); \
} while(0)
#define JFFS2_WARNING(fmt, ...) \
do { \
printk(JFFS2_WARN_LVL JFFS2_WARN_MSG_PREFIX \
- " %d,%s: " fmt, current->pid, \
+ " %d (%s): " fmt, current->pid, \
__FUNCTION__, ##__VA_ARGS__); \
} while(0)
#define JFFS2_NOTICE(fmt, ...) \
do { \
printk(JFFS2_NOTICE_LVL JFFS2_NOTICE_MSG_PREFIX \
- " %d,%s: " fmt, current->pid, \
+ " %d (%s): " fmt, current->pid, \
__FUNCTION__, ##__VA_ARGS__); \
} while(0)
#define JFFS2_DEBUG(fmt, ...) \
do { \
printk(JFFS2_DBG_LVL JFFS2_DBG_MSG_PREFIX \
- " %d,%s: " fmt, current->pid, \
+ " %d (%s): " fmt, current->pid, \
__FUNCTION__, ##__VA_ARGS__); \
} while(0)