aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/jmp-unwind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c b/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
index f0a290ae4b..d6fbcc39eb 100644
--- a/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
+++ b/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c
@@ -21,7 +21,7 @@
#include <stddef.h>
#include <pthread-functions.h>
-extern void __pthread_cleanup_upto (jmp_buf env, char *targetframe);
+extern void __pthread_cleanup_upto (__jmp_buf env, char *targetframe);
#pragma weak __pthread_cleanup_upto
@@ -35,5 +35,5 @@ _longjmp_unwind (jmp_buf env, int val)
#endif
if (fptr != NULL)
- fptr (env, __builtin_frame_address (0));
+ fptr (env->__jmpbuf, __builtin_frame_address (0));
}