kernel: Make exit() stub truly non-returning.
This commit is contained in:
parent
db408f1835
commit
46bca9bd51
@ -403,6 +403,7 @@ extern "C"
|
|||||||
void
|
void
|
||||||
exit(int status)
|
exit(int status)
|
||||||
{
|
{
|
||||||
panic("exit() called with status code = %d!", status);
|
while (true)
|
||||||
|
panic("exit() called with status code = %d!", status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user