summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadgetschedparam.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-14 17:21:53 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-22 14:00:28 +0200
commit4dc5450eebc1d863ea31f4b5e00fb7a9b67972e8 (patch)
treea2f4c401f9d5ecbc6bbbf858e7d04c0692100fea /cpukit/posix/src/pthreadgetschedparam.c
parentposix: Delete POSIX_API_Control::ss_high_priority (diff)
downloadrtems-4dc5450eebc1d863ea31f4b5e00fb7a9b67972e8.tar.bz2
posix: Delete POSIX_API_Control::schedpolicy
This field was redundant.
Diffstat (limited to 'cpukit/posix/src/pthreadgetschedparam.c')
-rw-r--r--cpukit/posix/src/pthreadgetschedparam.c2
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