diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-03-10 16:56:08 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-03-10 16:56:08 +0000 |
commit | fec60e9272537f9364d24f6dcf6861e49cb337bd (patch) | |
tree | 3d2bd575a2aea30e4f4c9195623fc3fc7f48cf42 /c/src/exec | |
parent | updated version to 4.0.0 (diff) | |
download | rtems-fec60e9272537f9364d24f6dcf6861e49cb337bd.tar.bz2 |
Fixed bug where the initial detachstate was not being set properly
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/posix/src/pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/posix/src/pthread.c b/c/src/exec/posix/src/pthread.c index b4c1e7e1f4..95213389cb 100644 --- a/c/src/exec/posix/src/pthread.c +++ b/c/src/exec/posix/src/pthread.c @@ -998,7 +998,7 @@ int pthread_create( api = the_thread->API_Extensions[ THREAD_API_POSIX ]; api->Attributes = *the_attr; - api->detachstate = attr->detachstate; + api->detachstate = the_attr->detachstate; api->schedpolicy = schedpolicy; api->schedparam = schedparam; |