aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/printk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index a87770ce73a2..b4d97b54c1ec 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -696,6 +696,8 @@ asmlinkage int vprintk(const char *fmt, va_list args)
696 switch (c) { 696 switch (c) {
697 case '0' ... '7': /* loglevel */ 697 case '0' ... '7': /* loglevel */
698 current_log_level = c - '0'; 698 current_log_level = c - '0';
699 /* Fallthrough - make sure we're on a new line */
700 case 'd': /* KERN_DEFAULT */
699 if (!new_text_line) { 701 if (!new_text_line) {
700 emit_log_char('\n'); 702 emit_log_char('\n');
701 new_text_line = 1; 703 new_text_line = 1;