projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
report that posix_spawn is supported in unistd.h and sysconf
[musl]
/
src
/
thread
/
pthread_setschedparam.c
diff --git
a/src/thread/pthread_setschedparam.c
b/src/thread/pthread_setschedparam.c
index
8e8b5a1
..
c4738d6
100644
(file)
--- 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);
{
int r;
__lock(t->killlock);
- r = t->dead ? ESRCH : -__syscall(SYS_sched_setscheduler, t->tid, policy,
&
param);
+ r = t->dead ? ESRCH : -__syscall(SYS_sched_setscheduler, t->tid, policy, param);
__unlock(t->killlock);
return r;
}
__unlock(t->killlock);
return r;
}