kernel: Make exit() stub truly non-returning.

This commit is contained in:
Augustin Cavalier 2019-06-15 19:11:51 -04:00
parent db408f1835
commit 46bca9bd51

View File

@ -403,6 +403,7 @@ extern "C"
void
exit(int status)
{
panic("exit() called with status code = %d!", status);
while (true)
panic("exit() called with status code = %d!", status);
}