X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_create.c;h=acbd5a41cdeb834c68a862266c1beb05dfa6679e;hb=2cff36a84f268c09f4c9dc5a1340652c8e298dc0;hp=ec329f5072ded734198fb1de54fe2c6b7a82c9e5;hpb=b2486a8922bf4977bd82c8190258e39de28c053b;p=oweals%2Fmusl.git diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c index ec329f50..acbd5a41 100644 --- a/src/thread/pthread_create.c +++ b/src/thread/pthread_create.c @@ -36,7 +36,7 @@ void __pthread_unwind_next(struct __ptcb *cb) exit(0); if (self->detached && self->map_base) { - __syscall(__NR_rt_sigprocmask, SIG_BLOCK, (long)(uint64_t[1]){-1},0,8); + __syscall(SYS_rt_sigprocmask, SIG_BLOCK, (long)(uint64_t[1]){-1},0,8); __unmapself(self->map_base, self->map_size); }