Fix typo in header

This commit is contained in:
Brian Behlendorf 2008-12-10 09:34:19 -08:00
parent 0b519593ac
commit e0231ea639
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)
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);
return rc;