Skip to content

Commit 01d445f

Browse files
dedekindThomas Gleixner
authored andcommitted
[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>
1 parent d409466 commit 01d445f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎fs/jffs2/debug.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* For licensing information, see the file 'LICENCE' in this directory.
99
*
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 $
1111
*
1212
*/
1313
#ifndef _JFFS2_DEBUG_H_
@@ -68,28 +68,28 @@
6868
#define JFFS2_ERROR(fmt, ...) \
6969
do { \
7070
printk(JFFS2_ERR_LVL JFFS2_ERR_MSG_PREFIX \
71-
" %d,%s: " fmt, current->pid, \
71+
" %d (%s): " fmt, current->pid, \
7272
__FUNCTION__, ##__VA_ARGS__); \
7373
} while(0)
7474

7575
#define JFFS2_WARNING(fmt, ...) \
7676
do { \
7777
printk(JFFS2_WARN_LVL JFFS2_WARN_MSG_PREFIX \
78-
" %d,%s: " fmt, current->pid, \
78+
" %d (%s): " fmt, current->pid, \
7979
__FUNCTION__, ##__VA_ARGS__); \
8080
} while(0)
8181

8282
#define JFFS2_NOTICE(fmt, ...) \
8383
do { \
8484
printk(JFFS2_NOTICE_LVL JFFS2_NOTICE_MSG_PREFIX \
85-
" %d,%s: " fmt, current->pid, \
85+
" %d (%s): " fmt, current->pid, \
8686
__FUNCTION__, ##__VA_ARGS__); \
8787
} while(0)
8888

8989
#define JFFS2_DEBUG(fmt, ...) \
9090
do { \
9191
printk(JFFS2_DBG_LVL JFFS2_DBG_MSG_PREFIX \
92-
" %d,%s: " fmt, current->pid, \
92+
" %d (%s): " fmt, current->pid, \
9393
__FUNCTION__, ##__VA_ARGS__); \
9494
} while(0)
9595

0 commit comments

Comments
 (0)