On Mon, Feb 25, 2002 at 11:30:28PM -0600, Amit Kucheria wrote: > On Tue, 26 Feb 2002, J Pradeep wrote: > > > > > I could not understand what you were doing with that if-statement. The > > following works for me: > > > > #define k_message(msg...) printk(KERN_INFO msg) > > This works for me too! I want to append a '\n' to msg. I cant get that to > work. See include/linux/usb.h for how to do this. Specifically the dbg(), err(), info(), and warn() macros all automatically add '\n' to the data. greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/