[CentOS] Strange content in the kernel dmesg traces
Ioannis Vranos
ivranos at freemail.grWed Apr 25 11:36:40 UTC 2007
- Previous message: [CentOS] Strange content in the kernel dmesg traces
- Next message: [CentOS] Having trouble with FreeNX, Need help to make it work perfectly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. :-)
- Previous message: [CentOS] Strange content in the kernel dmesg traces
- Next message: [CentOS] Having trouble with FreeNX, Need help to make it work perfectly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list