[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <466A610B.3030903@hawkeye.stone.uk.eu.org>
Date: Sat, 09 Jun 2007 09:12:59 +0100
From: Jack Stone <jack@...keye.stone.uk.eu.org>
To: linux-kernel@...r.kernel.org
CC: hpa@...or.com, Ian Kent <raven@...maw.net>
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@...keye.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists