diff options
author | Nick Andrew <nick@nick-andrew.net> | 2008-05-12 15:21:04 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-24 17:15:19 -0400 |
commit | 091593080533a752ce66d12858d8c4105c8e1793 (patch) | |
tree | de8793133104a9a19bbba971d3bfb84408e4cdbb /drivers/lguest | |
parent | ac60ad7413ca8208094609a3b88ed9b1ed012fbc (diff) |
printk: remember the message level for multi-line output
printk(KERN_ALERT "Danger Will Robinson!\nAlien Approaching!\n");
At present this will result in one message at ALERT level and one
at the current default message loglevel (e.g. WARNING). This is
non-intuitive.
Modify vprintk() to remember the message loglevel each time it
is specified and use it for subsequent lines of output which do
not specify one, within the same call to printk.
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions