diff options
Diffstat (limited to 'cpukit/posix/src/pthreadgetschedparam.c')
-rw-r--r-- | cpukit/posix/src/pthreadgetschedparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/pthreadgetschedparam.c b/cpukit/posix/src/pthreadgetschedparam.c index 9b6969ce8e..d03a8a8113 100644 --- a/cpukit/posix/src/pthreadgetschedparam.c +++ b/cpukit/posix/src/pthreadgetschedparam.c @@ -51,7 +51,7 @@ int pthread_getschedparam( _Thread_State_acquire_critical( the_thread, &lock_context ); api = the_thread->API_Extensions[ THREAD_API_POSIX ]; - *policy = api->schedpolicy; + *policy = api->Attributes.schedpolicy; *param = api->schedparam; param->sched_priority = _POSIX_Priority_From_core( the_thread->real_priority |