summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/posix/src/pthreadcreate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/pthreadcreate.c b/cpukit/posix/src/pthreadcreate.c
index 9c4313ec30..37216bd541 100644
--- a/cpukit/posix/src/pthreadcreate.c
+++ b/cpukit/posix/src/pthreadcreate.c
@@ -196,8 +196,8 @@ int pthread_create(
#if defined(RTEMS_SMP)
#if __RTEMS_HAVE_SYS_CPUSET_H__
- the_thread->affinity.setsize = attr->affinitysetsize;
- *the_thread->affinity.set = *attr->affinityset;
+ the_thread->affinity.setsize = the_attr->affinitysetsize;
+ *the_thread->affinity.set = *the_attr->affinityset;
#endif
#endif