On Sun, 2004-05-16 at 19:04, Ian Kent wrote:
> Hi Joe,
> 
> Why are you removing the function names from the printks?

Hi Kent.

The function names were moved to the DPRINTK macro itself
so they can't be out of date again.

Regards,  Joe

 #ifdef DEBUG
-#define DPRINTK(D) do{ printk("pid %d: ", current->pid); printk D; } while(0)
+#define DPRINTK(fmt,args...) do { printk(KERN_DEBUG "pid %d: %s: " fmt "\n" , 
current->pid , __FUNCTION__ , ##args); } while(0)
 #else
-#define DPRINTK(D) do {} while(0)
+#define DPRINTK(fmt,args...) do {} while(0)
 #endif


_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to