summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadsetschedparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreadsetschedparam.c')
-rw-r--r--cpukit/posix/src/pthreadsetschedparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/pthreadsetschedparam.c b/cpukit/posix/src/pthreadsetschedparam.c
index 9aa2122ab8..14ea1cd7f6 100644
--- a/cpukit/posix/src/pthreadsetschedparam.c
+++ b/cpukit/posix/src/pthreadsetschedparam.c
@@ -55,7 +55,7 @@ static int _POSIX_Set_sched_param(
high_prio = low_prio;
}
- scheduler = _Scheduler_Get_own( the_thread );
+ scheduler = _Thread_Scheduler_get_home( the_thread );
core_normal_prio = _POSIX_Priority_To_core( scheduler, low_prio, &valid );
if ( !valid ) {