X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_setschedparam.c;h=c4738d643bdad782674836477992f02b608eabc8;hb=77830507bed92a62ab230b499d5b38ae45d208a4;hp=8e8b5a1988d2d217616ced905f82bc08aa52a792;hpb=1e21e78bf7a5c24c217446d8760be7b7188711c2;p=musl 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; }