summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/amd64/gen/setjmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/amd64/gen/setjmp.S b/lib/libc/amd64/gen/setjmp.S
index ac37f98..cfe15b7 100644
--- a/lib/libc/amd64/gen/setjmp.S
+++ b/lib/libc/amd64/gen/setjmp.S
@@ -80,7 +80,7 @@ ENTRY(__longjmp)
pushq %rdi
pushq %rsi
movq %rdi,%rdx
- movq $1,%rdi /* SIG_SETMASK */
+ movq $3,%rdi /* SIG_SETMASK */
leaq 72(%rdx),%rsi /* (sigset_t*)set */
movq $0,%rdx /* (sigset_t*)oset */
call PIC_PLT(CNAME(_sigprocmask))
OpenPOWER on IntegriCloud