From 7f8de979fc762dc4b610f5f1bc9b9845a9c638a2 Mon Sep 17 00:00:00 2001 From: mtm Date: Fri, 23 May 2003 08:13:24 +0000 Subject: note to self: do not confuse void* with int. Approved by: re/blanket libthr --- lib/libthr/thread/thr_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libthr/thread/thr_exit.c') 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 -- cgit v1.1