X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_getschedparam.c;h=3053c1865e0a1f1d2c6c8ea16d30ecdcddfb4a7d;hb=19b4a0a20efc6b9df98b6a43536ecdd628ba4643;hp=7b6a95f134b91572e2e1e884eb6a3c6a119d07fb;hpb=c6d441e3a246370d9c459396ec22b096db93850e;p=musl diff --git a/src/thread/pthread_getschedparam.c b/src/thread/pthread_getschedparam.c index 7b6a95f1..3053c186 100644 --- a/src/thread/pthread_getschedparam.c +++ b/src/thread/pthread_getschedparam.c @@ -7,7 +7,7 @@ int pthread_getschedparam(pthread_t t, int *restrict policy, struct sched_param if (t->dead) { r = ESRCH; } else { - r = -__syscall(SYS_sched_getparam, t->tid, ¶m); + r = -__syscall(SYS_sched_getparam, t->tid, param); if (!r) { *policy = __syscall(SYS_sched_getscheduler, t->tid); }