added new line, if messages dropped, so error message not mess with next
one message.

-- 
----------------------------------------------------------------------------------
Best regards,
Maxim Akristiniy
Kernel Developer
Yota Devices
M +7 (916) 967 37 57
E [email protected] I www.yotadevices.com
Skype: AMVA007
This message contains confidential information of Yota Devices and is intended 
only for the individual(s) named. If you are not the named addressee you should 
not disseminate, distribute or copy this e-mail. Please notify the sender 
immediately if you have received this message by mistake and erase it from your 
system. Thank you

From 8e46b75cb9457c424f4d729c75c10c9aede1a1aa Mon Sep 17 00:00:00 2001
From: Maxim Akristiniy <[email protected]>
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

Reply via email to