projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use syscall_arg_t type for syscall prototypes in pthread code
[oweals/musl.git]
/
src
/
thread
/
pthread_getschedparam.c
diff --git
a/src/thread/pthread_getschedparam.c
b/src/thread/pthread_getschedparam.c
index 7b6a95f134b91572e2e1e884eb6a3c6a119d07fb..3053c1865e0a1f1d2c6c8ea16d30ecdcddfb4a7d 100644
(file)
--- 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,
&
param);
+ r = -__syscall(SYS_sched_getparam, t->tid, param);
if (!r) {
*policy = __syscall(SYS_sched_getscheduler, t->tid);
}