|
7 | 7 | * |
8 | 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 | 13 | #ifndef _JFFS2_DEBUG_H_ |
|
68 | 68 | #define JFFS2_ERROR(fmt, ...) \ |
69 | 69 | do { \ |
70 | 70 | printk(JFFS2_ERR_LVL JFFS2_ERR_MSG_PREFIX \ |
71 | | - " %d,%s: " fmt, current->pid, \ |
| 71 | + " %d (%s): " fmt, current->pid, \ |
72 | 72 | __FUNCTION__, ##__VA_ARGS__); \ |
73 | 73 | } while(0) |
74 | 74 |
|
75 | 75 | #define JFFS2_WARNING(fmt, ...) \ |
76 | 76 | do { \ |
77 | 77 | printk(JFFS2_WARN_LVL JFFS2_WARN_MSG_PREFIX \ |
78 | | - " %d,%s: " fmt, current->pid, \ |
| 78 | + " %d (%s): " fmt, current->pid, \ |
79 | 79 | __FUNCTION__, ##__VA_ARGS__); \ |
80 | 80 | } while(0) |
81 | 81 |
|
82 | 82 | #define JFFS2_NOTICE(fmt, ...) \ |
83 | 83 | do { \ |
84 | 84 | printk(JFFS2_NOTICE_LVL JFFS2_NOTICE_MSG_PREFIX \ |
85 | | - " %d,%s: " fmt, current->pid, \ |
| 85 | + " %d (%s): " fmt, current->pid, \ |
86 | 86 | __FUNCTION__, ##__VA_ARGS__); \ |
87 | 87 | } while(0) |
88 | 88 |
|
89 | 89 | #define JFFS2_DEBUG(fmt, ...) \ |
90 | 90 | do { \ |
91 | 91 | printk(JFFS2_DBG_LVL JFFS2_DBG_MSG_PREFIX \ |
92 | | - " %d,%s: " fmt, current->pid, \ |
| 92 | + " %d (%s): " fmt, current->pid, \ |
93 | 93 | __FUNCTION__, ##__VA_ARGS__); \ |
94 | 94 | } while(0) |
95 | 95 |
|
|
0 commit comments