about summary refs log tree commit diff
path: root/src/signal/siglongjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/siglongjmp.c')
-rw-r--r--src/signal/siglongjmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/siglongjmp.c b/src/signal/siglongjmp.c
index a7bcca24..2974ff7f 100644
--- a/src/signal/siglongjmp.c
+++ b/src/signal/siglongjmp.c
@@ -7,5 +7,5 @@
 _Noreturn void siglongjmp(sigjmp_buf buf, int ret)
 {
 	if (buf->__fl) __restore_sigs(buf->__ss);
-	longjmp(buf->__jb, ret);
+	longjmp(buf, ret);
 }