Update panic.c

This commit is contained in:
TIBTHINK 2019-12-09 11:11:08 -05:00 committed by GitHub
parent 0e3e4d08a6
commit 63909ee865
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -212,7 +212,7 @@ void panic(const char *fmt, ...)
if (len && buf[len - 1] == '\n') if (len && buf[len - 1] == '\n')
buf[len - 1] = '\0'; buf[len - 1] = '\0';
pr_emerg("Kernel bruh moment - not syncing: %s\n", buf); pr_emerg("Kernel vibe check - not syncing: %s\n", buf);
#ifdef CONFIG_DEBUG_BUGVERBOSE #ifdef CONFIG_DEBUG_BUGVERBOSE
/* /*
* Avoid nested stack-dumping if a panic occurs during oops processing * Avoid nested stack-dumping if a panic occurs during oops processing
@ -336,7 +336,7 @@ void panic(const char *fmt, ...)
#if defined(CONFIG_S390) #if defined(CONFIG_S390)
disabled_wait(); disabled_wait();
#endif #endif
pr_emerg("---[ end Kernel panic - not syncing: %s ]---\n", buf); pr_emerg("---[ end Kernel vibe check - not syncing: %s ]---\n", buf);
/* Do not scroll important messages printed above */ /* Do not scroll important messages printed above */
suppress_printk = 1; suppress_printk = 1;