[CentOS] Strange content in the kernel dmesg traces

Wed Apr 25 11:36:40 UTC 2007
Ioannis Vranos <ivranos at freemail.gr>

Michael D. Kralka wrote:
> 
> I am going to regret answering this, because it is not the right place
> for such questions. However...
> 
> I suspect you are misusing printk and the KERN_XXX prefixes (KERN_DEBUG,
> KERN_ERR, KERN_INFO, etc.) defined in include/linux/kernel.h. Try
> dropping the comma between the prefix and the message. That is:
> 
> 	printk(KERN_INFO "Hello World!\n");
> 
> rather than:
> 
> 	printk(KERN_INFO, "Hello World!\n");
> 
> I leave it an exercise for a for the reader to figure out what the
> difference is.


In the first case, the two string literals become one.  :-)