From 73bef9b76b528d3fe92d7ab28d9b81b10e68b1fd Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 11 Aug 2004 01:56:35 +0000 Subject: More consistent use of _exits and exits in place of _exit and exit. --- src/libthread/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libthread/main.c') 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 -- cgit v1.2.3