panic: Add closing panic marker parenthesis
authorBorislav Petkov <[email protected]>
Tue, 6 Mar 2018 09:49:12 +0000 (10:49 +0100)
committerThomas Gleixner <[email protected]>
Thu, 8 Mar 2018 11:01:10 +0000 (12:01 +0100)
Otherwise it looks unbalanced.

Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
kernel/panic.c

index 2cfef408fec931ac0ef3f3c95b31269ed1d3ea29..9fb023d0cae158999d04d8c5e3734d7c309fb567 100644 (file)
@@ -289,7 +289,7 @@ void panic(const char *fmt, ...)
                disabled_wait(caller);
        }
 #endif
-       pr_emerg("---[ end Kernel panic - not syncing: %s\n", buf);
+       pr_emerg("---[ end Kernel panic - not syncing: %s ]---\n", buf);
        local_irq_enable();
        for (i = 0; ; i += PANIC_TIMER_STEP) {
                touch_softlockup_watchdog();