diff options
Diffstat (limited to 'nuttx/sched/sched_setparam.c')
-rw-r--r-- | nuttx/sched/sched_setparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/sched_setparam.c b/nuttx/sched/sched_setparam.c index b08611169..2b0f804a6 100644 --- a/nuttx/sched/sched_setparam.c +++ b/nuttx/sched/sched_setparam.c @@ -147,7 +147,7 @@ int sched_setparam(pid_t pid, const struct sched_param *param) /* Then perform the reprioritization */ - ret = sched_settcbprio(tcb, param->sched_priority); + ret = sched_reprioritize(tcb, param->sched_priority); sched_unlock(); return ret; } |