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 1d4812c067..88cd5fde98 100644 --- a/cpukit/posix/src/pthreadgetschedparam.c +++ b/cpukit/posix/src/pthreadgetschedparam.c @@ -58,7 +58,7 @@ int pthread_getschedparam( *policy = api->Attributes.schedpolicy; *param = api->Attributes.schedparam; - scheduler = _Scheduler_Get_own( the_thread ); + scheduler = _Thread_Scheduler_get_home( the_thread ); priority = the_thread->Real_priority.priority; _Thread_Wait_release( the_thread, &queue_context ); |