diff options
author | mtm <mtm@FreeBSD.org> | 2003-05-23 08:13:24 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-05-23 08:13:24 +0000 |
commit | 7f8de979fc762dc4b610f5f1bc9b9845a9c638a2 (patch) | |
tree | 53a0c9500e857d2333d3913d8ab1f65551e11852 /lib/libthr | |
parent | 8fccddb300a4ef3a0cbba4c1645fb4035e3ed92e (diff) | |
download | FreeBSD-src-7f8de979fc762dc4b610f5f1bc9b9845a9c638a2.zip FreeBSD-src-7f8de979fc762dc4b610f5f1bc9b9845a9c638a2.tar.gz |
note to self: do not confuse void* with int.
Approved by: re/blanket libthr
Diffstat (limited to 'lib/libthr')
-rw-r--r-- | lib/libthr/thread/thr_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_exit.c b/lib/libthr/thread/thr_exit.c index 059af3d..e394324 100644 --- a/lib/libthr/thread/thr_exit.c +++ b/lib/libthr/thread/thr_exit.c @@ -173,7 +173,7 @@ _pthread_exit(void *status) /* If we're the last thread, call it quits */ if (TAILQ_EMPTY(&_thread_list)) - exit(curthread->ret); + exit(0); /* * Retire the architecture specific id so that it can be used for |