X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fthread%2Fpthread_setschedparam.c;h=c4738d643bdad782674836477992f02b608eabc8;hp=8e8b5a1988d2d217616ced905f82bc08aa52a792;hb=21088aee2eb6bf12fd3b1db918ee4754989ff7da;hpb=f03db4bdff7b2f02b5cbdda96cf0241efa4e80ef diff --git a/src/thread/pthread_setschedparam.c b/src/thread/pthread_setschedparam.c index 8e8b5a19..c4738d64 100644 --- a/src/thread/pthread_setschedparam.c +++ b/src/thread/pthread_setschedparam.c @@ -4,7 +4,7 @@ int pthread_setschedparam(pthread_t t, int policy, const struct sched_param *par { int r; __lock(t->killlock); - r = t->dead ? ESRCH : -__syscall(SYS_sched_setscheduler, t->tid, policy, ¶m); + r = t->dead ? ESRCH : -__syscall(SYS_sched_setscheduler, t->tid, policy, param); __unlock(t->killlock); return r; }