Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch

This commit is contained in:
Brian Behlendorf 2008-12-10 09:36:10 -08:00
commit 6f9c9e8ea3
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ thr_create(void *stack_base, size_t stack_size,
if (flags & THR_DETACHED) if (flags & THR_DETACHED)
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
rc = pthread_create(new_thread_ID, &attr, start_func, arg); rc = pthread_create(new_thread_id, &attr, start_func, arg);
pthread_attr_destroy(&attr); pthread_attr_destroy(&attr);
return rc; return rc;