Messages in this thread Patch in this message | | | Date | Sat, 09 Jun 2007 09:12:59 +0100 | From | Jack Stone <> | Subject | [PATCH 4/7] Update DPRINTK macro to use pr_debug |
| |
This patch updates the DPRINTK macro in autofs4 to use pr_debug as the macro uses a special print format.
Signed-off-by Jack Stone <jack@hawkeye.stone.uk.eu.org> --- Index: linux/fs/autofs4/autofs_i.h =================================================================== --- linux.orig/fs/autofs4/autofs_i.h +++ linux/fs/autofs4/autofs_i.h @@ -35,7 +35,7 @@ /* #define DEBUG */
#ifdef DEBUG -#define DPRINTK(fmt,args...) do { printk(KERN_DEBUG "pid %d: %s: " fmt "\n" , current->pid , __FUNCTION__ , ##args); } while(0) +#define DPRINTK(fmt,args...) do { pr_debug("pid %d: %s: " fmt "\n" , current->pid , __FUNCTION__ , ##args); } while(0) #else #define DPRINTK(fmt,args...) do {} while(0) #endif
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |