summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_init.c
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2003-05-23 09:48:20 +0000
committerMike Makonnen <mtm@FreeBSD.org>2003-05-23 09:48:20 +0000
commit7d9d7ca2ed3e3d630e63482c41f2d26194129c2c (patch)
treea5c7ab227f8b7ea35430bf21cc7cafe1b6b756f3 /lib/libthr/thread/thr_init.c
parent4e3f7b6ede53e15c4423d42f0cb5bce693a14246 (diff)
Notes
Diffstat (limited to 'lib/libthr/thread/thr_init.c')
-rw-r--r--lib/libthr/thread/thr_init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c
index 64a1315a65b5..3b59da457fbf 100644
--- a/lib/libthr/thread/thr_init.c
+++ b/lib/libthr/thread/thr_init.c
@@ -158,7 +158,6 @@ _thread_init(void)
{
struct pthread *pthread;
int fd;
- int flags;
int i;
size_t len;
int mib[2];
@@ -328,7 +327,7 @@ _thread_init(void)
/* Initialise the garbage collector mutex and condition variable. */
if (_pthread_mutex_init(&_gc_mutex,NULL) != 0 ||
- pthread_cond_init(&_gc_cond,NULL) != 0)
+ _pthread_cond_init(&_gc_cond,NULL) != 0)
PANIC("Failed to initialise garbage collector mutex or condvar");
}