From 3d920fd2be05203c12452c2f3ccec2d6112a568c Mon Sep 17 00:00:00 2001 From: turret Date: Mon, 18 Dec 2023 15:44:12 -0600 Subject: panic: use exit_group instead of exit --- init/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init/log.c') diff --git a/init/log.c b/init/log.c index c7d69f6..b26a639 100644 --- a/init/log.c +++ b/init/log.c @@ -169,7 +169,7 @@ void _panic(const char *fileorigin, const int lineorigin, const char *fmt, ...) if(pid != mainpid && mode == PANICMODE_RESPAWN) { /* we want to let the main process handle the rest */ subsystem_change_mode(pid, mode); - syscall(SYS_exit, 1); + syscall(SYS_exit_group, 1); } } -- cgit v1.2.3