aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/log.c b/init/log.c
index b26a639..aba141d 100644
--- a/init/log.c
+++ b/init/log.c
@@ -157,6 +157,8 @@ void _panic(const char *fileorigin, const int lineorigin, const char *fmt, ...)
if(mode == PANICMODE_DIE)
kill(-getpgid(pid), SIGINT);
+ print(NOLOCK("5") "------------[ cut here ]------------");
+
console_lock = 0;
free(_fmt);
free(backtrace_symbolnames);