Skip to content

Commit

Permalink
added new line symbol after warning about dropped messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maxim Akristiniy authored and Petr Mladek committed Oct 30, 2017
1 parent bc82936 commit 9afe77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/printk/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 9afe77e

Please sign in to comment.