Commit 01d445f8 authored by Artem B. Bityutskiy's avatar Artem B. Bityutskiy Committed by Thomas Gleixner

[JFFS2] Make the JFFS2 messages a bit nicer

Signed-off-by: default avatarArtem B. Bityutskiy <dedekind@infradead.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent d4094661
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* For licensing information, see the file 'LICENCE' in this directory. * 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_ #ifndef _JFFS2_DEBUG_H_
...@@ -68,28 +68,28 @@ ...@@ -68,28 +68,28 @@
#define JFFS2_ERROR(fmt, ...) \ #define JFFS2_ERROR(fmt, ...) \
do { \ do { \
printk(JFFS2_ERR_LVL JFFS2_ERR_MSG_PREFIX \ printk(JFFS2_ERR_LVL JFFS2_ERR_MSG_PREFIX \
" %d,%s: " fmt, current->pid, \ " %d (%s): " fmt, current->pid, \
__FUNCTION__, ##__VA_ARGS__); \ __FUNCTION__, ##__VA_ARGS__); \
} while(0) } while(0)
#define JFFS2_WARNING(fmt, ...) \ #define JFFS2_WARNING(fmt, ...) \
do { \ do { \
printk(JFFS2_WARN_LVL JFFS2_WARN_MSG_PREFIX \ printk(JFFS2_WARN_LVL JFFS2_WARN_MSG_PREFIX \
" %d,%s: " fmt, current->pid, \ " %d (%s): " fmt, current->pid, \
__FUNCTION__, ##__VA_ARGS__); \ __FUNCTION__, ##__VA_ARGS__); \
} while(0) } while(0)
#define JFFS2_NOTICE(fmt, ...) \ #define JFFS2_NOTICE(fmt, ...) \
do { \ do { \
printk(JFFS2_NOTICE_LVL JFFS2_NOTICE_MSG_PREFIX \ printk(JFFS2_NOTICE_LVL JFFS2_NOTICE_MSG_PREFIX \
" %d,%s: " fmt, current->pid, \ " %d (%s): " fmt, current->pid, \
__FUNCTION__, ##__VA_ARGS__); \ __FUNCTION__, ##__VA_ARGS__); \
} while(0) } while(0)
#define JFFS2_DEBUG(fmt, ...) \ #define JFFS2_DEBUG(fmt, ...) \
do { \ do { \
printk(JFFS2_DBG_LVL JFFS2_DBG_MSG_PREFIX \ printk(JFFS2_DBG_LVL JFFS2_DBG_MSG_PREFIX \
" %d,%s: " fmt, current->pid, \ " %d (%s): " fmt, current->pid, \
__FUNCTION__, ##__VA_ARGS__); \ __FUNCTION__, ##__VA_ARGS__); \
} while(0) } while(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment