summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadgetschedparam.c
diff options
context:
space:
mode:
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 21908cb2e3..9b6969ce8e 100644
--- a/cpukit/posix/src/pthreadgetschedparam.c
+++ b/cpukit/posix/src/pthreadgetschedparam.c
@@ -54,7 +54,7 @@ int pthread_getschedparam(
*policy = api->schedpolicy;
*param = api->schedparam;
param->sched_priority = _POSIX_Priority_From_core(
- the_thread->current_priority
+ the_thread->real_priority
);
_Thread_State_release( the_thread, &lock_context );