musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--src/thread/pthread_getschedparam.c 2
1 files changed, 1 insertions, 1 deletions
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, &param);
+ r = -__syscall(SYS_sched_getparam, t->tid, param);
if (!r) {
*policy = __syscall(SYS_sched_getscheduler, t->tid);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月10日 06:54:04 +0000

AltStyle によって変換されたページ (->オリジナル) /