From df766d8eb601bd453dd1573db21b394d4de3083d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ro=C5=9Bcis=C5=82aw=20Szyma=C5=84ski?= <156237164+I-use-Arch-btw-00111@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:37:24 +0200 Subject: [PATCH] Minor changes to pr_emerg lines in file: panic.c Changes at lines 348, 424, and 457. --- kernel/panic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/panic.c b/kernel/panic.c index fbc59b3b64d0..199345eb369f 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -345,7 +345,7 @@ void panic(const char *fmt, ...) if (len && buf[len - 1] == '\n') buf[len - 1] = '\0'; - pr_emerg("Kernel panic - not syncing: %s\n", buf); + pr_emerg("KERNEL PANIC - not syncing: %s\n", buf); #ifdef CONFIG_DEBUG_BUGVERBOSE /* * Avoid nested stack-dumping if a panic occurs during oops processing @@ -421,7 +421,7 @@ void panic(const char *fmt, ...) * Delay timeout seconds before rebooting the machine. * We can't use the "normal" timers since we just panicked. */ - pr_emerg("Rebooting in %d seconds..\n", panic_timeout); + pr_emerg("Attempting an EMERGENCY REBOOT in %d seconds..\n", panic_timeout); for (i = 0; i < panic_timeout * 1000; i += PANIC_TIMER_STEP) { touch_nmi_watchdog(); @@ -454,7 +454,7 @@ void panic(const char *fmt, ...) #if defined(CONFIG_S390) disabled_wait(); #endif - pr_emerg("---[ end Kernel panic - not syncing: %s ]---\n", buf); + pr_emerg("---< end KERNEL PANIC - not syncing: %s >---\n", buf); /* Do not scroll important messages printed above */ suppress_printk = 1;