--- src/lib/libthread_xu/arch/i386/i386/pthread_md.c 2005/04/28 18:24:10 1.9 +++ src/lib/libthread_xu/arch/i386/i386/pthread_md.c 2005/05/11 19:47:05 1.10 @@ -39,16 +39,15 @@ struct tls_tcb * _tcb_ctor(struct pthread *thread, int initial) { - struct tls_tcb *old_tcb, *tcb; + struct tls_tcb *tcb; int flags; - old_tcb = 0; flags = 0; if (initial) tcb = tls_get_tcb(); else - tcb = _rtld_allocate_tls(old_tcb); + tcb = _libc_allocate_tls(); if (tcb == NULL) return (NULL);