diff options
author | rsc <devnull@localhost> | 2004-08-11 01:56:35 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-08-11 01:56:35 +0000 |
commit | 73bef9b76b528d3fe92d7ab28d9b81b10e68b1fd (patch) | |
tree | d1af4390a3080b0c3840d611495c80bc8ba188c1 /src/libthread/main.c | |
parent | bf00efba2df4172c1d60e51eb9f0c2af0f9f22c6 (diff) | |
download | plan9port-73bef9b76b528d3fe92d7ab28d9b81b10e68b1fd.tar.gz plan9port-73bef9b76b528d3fe92d7ab28d9b81b10e68b1fd.tar.bz2 plan9port-73bef9b76b528d3fe92d7ab28d9b81b10e68b1fd.zip |
More consistent use of _exits and exits
in place of _exit and exit.
Diffstat (limited to 'src/libthread/main.c')
-rw-r--r-- | src/libthread/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libthread/main.c b/src/libthread/main.c index ce810dba..0a2fccb7 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); + _exits(_threadexitsallstatus); } int @@ -109,7 +109,7 @@ _schedexit(Proc *p) strncpy(ex, p->exitstr, sizeof ex); ex[sizeof ex-1] = '\0'; free(p); - _exit(ex[0]); + _exits(ex); } int |