diff --git a/src/kernel/libroot/posix/unistd/_exit.c b/src/kernel/libroot/posix/unistd/_exit.c index 4d3f249dcc..f243fe6041 100644 --- a/src/kernel/libroot/posix/unistd/_exit.c +++ b/src/kernel/libroot/posix/unistd/_exit.c @@ -1,7 +1,7 @@ /* -** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ + * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include @@ -18,6 +18,6 @@ _exit(int status) _IO_cleanup(); // exit with status code - _kern_exit(status); + _kern_exit_team(status); }