summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-05-08 07:41:24 +0000
committerpeter <peter@FreeBSD.org>2003-05-08 07:41:24 +0000
commit2ed5055d26dad344fbe651b361efb7697ae3de0b (patch)
tree4d2056e92b6ce1985e573aa53ab262858950cf8c
parent61de490e30f478b0adca810a7abf53a2e186caad (diff)
downloadFreeBSD-src-2ed5055d26dad344fbe651b361efb7697ae3de0b.zip
FreeBSD-src-2ed5055d26dad344fbe651b361efb7697ae3de0b.tar.gz
SIG_SETMASK is 3, not 1. Sigh.
-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