summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Akristiniy <maksim.akristiniy@yotadevices.com>2017-10-23 19:51:48 +0300
committerPetr Mladek <pmladek@suse.com>2017-10-30 16:19:13 +0100
commit9afe77ed849de6af8532b4c1b9310102eed9edf7 (patch)
tree1216546e9068436072edbfde4a865ef0c851799d
parentbc8293663b953c23ff7b73eb15f82393425e5e47 (diff)
downloadlinux-stable-9afe77ed849de6af8532b4c1b9310102eed9edf7.tar.gz
linux-stable-9afe77ed849de6af8532b4c1b9310102eed9edf7.tar.bz2
linux-stable-9afe77ed849de6af8532b4c1b9310102eed9edf7.zip
added new line symbol after warning about dropped messages
so this message will not mess with the next one Cc: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Maxim Akristiniy <maksim.akristiniy@yotadevices.com> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Petr Mladek <pmladek@suse.com>
-rw-r--r--kernel/printk/printk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 512f7c2baedd..5d81206a572d 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -2190,7 +2190,7 @@ again:
}
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 */