diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-21 16:28:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-21 16:28:13 +0100 |
commit | 11ca75d2d6d18d5a7ee4d7ec1da6f864f5c8c8be (patch) | |
tree | ce03dc406fdb0e7a3d58e6506c1537c9fe9c98d3 /kernel/printk/printk.c | |
parent | Merge tag 'fbdev-v4.15' of git://github.com/bzolnier/linux (diff) | |
parent | added new line symbol after warning about dropped messages (diff) | |
download | linux-11ca75d2d6d18d5a7ee4d7ec1da6f864f5c8c8be.tar.xz linux-11ca75d2d6d18d5a7ee4d7ec1da6f864f5c8c8be.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk
Pull printk updates from Petr Mladek:
- print the warning about dropped messages on consoles on a separate
line. It makes it more legible.
- one typo fix and small code clean up.
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk:
added new line symbol after warning about dropped messages
printk: fix typo in printk_safe.c
printk: simplify no_printk()
Diffstat (limited to 'kernel/printk/printk.c')
-rw-r--r-- | kernel/printk/printk.c | 2 |
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 */ |