diff options
Diffstat (limited to 'lib/libthr/thread/thr_init.c')
-rw-r--r-- | lib/libthr/thread/thr_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c index f0da5f6..3624cf8 100644 --- a/lib/libthr/thread/thr_init.c +++ b/lib/libthr/thread/thr_init.c @@ -411,8 +411,8 @@ init_main_thread(struct pthread *thread) thread->state = PS_RUNNING; - thr_getscheduler(thread->tid, &thread->attr.sched_policy, - &sched_param, sizeof(sched_param)); + _thr_getscheduler(thread->tid, &thread->attr.sched_policy, + &sched_param); thread->attr.prio = sched_param.sched_priority; /* Others cleared to zero by thr_alloc() */ |