change jmp_buf to share an underlying type and struct tag with sigjmp_buf
[musl] / src / signal / siglongjmp.c
index a7bcca2..2974ff7 100644 (file)
@@ -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);
 }