--- src/lib/libc_r/uthread/uthread_create.c 2005/04/28 22:10:48 1.4 +++ src/lib/libc_r/uthread/uthread_create.c 2005/05/11 19:47:00 1.5 @@ -166,7 +166,7 @@ _pthread_create(pthread_t *thread, const } else { /* Initialise the thread structure: */ memset(new_thread, 0, sizeof(struct pthread)); - new_thread->tcb = _rtld_allocate_tls(NULL); + new_thread->tcb = _libc_allocate_tls(); if (new_thread->tcb == NULL) PANIC("Cannot allocate TLS and TCB"); new_thread->slice_usec = -1;