From 8e46b75cb9457c424f4d729c75c10c9aede1a1aa Mon Sep 17 00:00:00 2001 From: Maxim Akristiniy Date: Mon, 23 Oct 2017 12:49:39 +0300 Subject: [PATCH 1/1] added new line symbol for error, so this message will not mess with next one --- kernel/printk/printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 512f7c2..a8ca877 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2190,7 +2190,7 @@ void console_unlock(void) } if (console_seq < log_first_seq) { - len = sprintf(text, "** %u printk messages dropped ** ", + len = sprintf(text, "** %u printk messages dropped ** \n", (unsigned)(log_first_seq - console_seq)); /* messages are gone, move to first one */ -- 2.7.4