diff options
author | rsc <devnull@localhost> | 2004-05-23 01:00:12 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-05-23 01:00:12 +0000 |
commit | 1be1539ea802a63e508514d7431e9eaead0b0857 (patch) | |
tree | 6f13715d3fbd8c57fad2bb9a51af0285420a35e3 /src | |
parent | 6c7460701e7896446d0fb14bf9b24f258c61b6a6 (diff) | |
download | plan9port-1be1539ea802a63e508514d7431e9eaead0b0857.tar.gz plan9port-1be1539ea802a63e508514d7431e9eaead0b0857.tar.bz2 plan9port-1be1539ea802a63e508514d7431e9eaead0b0857.zip |
make sure only one guy can call exit.
Diffstat (limited to 'src')
-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 |