diff options
-rw-r--r-- | src/libthread/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/main.c b/src/libthread/main.c index bc7ad0f8..ce810dba 100644 --- a/src/libthread/main.c +++ b/src/libthread/main.c @@ -29,7 +29,7 @@ _threaddie(int x) USED(x); if(_threadexitsallstatus) - exit(_threadexitsallstatus[0] ? 1 : 0); + _exit(_threadexitsallstatus[0] ? 1 : 0); } int |