summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadgetschedparam.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-14 17:23:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-22 14:00:28 +0200
commit6bab009a61ae9ca7f7ac76140f8f13fbaab784c6 (patch)
tree7f10aaf87cf912151429fb1cfbde65071e804d87 /cpukit/posix/src/pthreadgetschedparam.c
parentposix: Delete POSIX_API_Control::schedpolicy (diff)
downloadrtems-6bab009a61ae9ca7f7ac76140f8f13fbaab784c6.tar.bz2
posix: Delete POSIX_API_Control::schedparam
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 d03a8a8113..ed149f2e2b 100644
--- a/cpukit/posix/src/pthreadgetschedparam.c
+++ b/cpukit/posix/src/pthreadgetschedparam.c
@@ -52,7 +52,7 @@ int pthread_getschedparam(
api = the_thread->API_Extensions[ THREAD_API_POSIX ];
*policy = api->Attributes.schedpolicy;
- *param = api->schedparam;
+ *param = api->Attributes.schedparam;
param->sched_priority = _POSIX_Priority_From_core(
the_thread->real_priority
);