aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-error.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-12-21 21:36:24 +0000
committerRoland McGrath <roland@gnu.org>2005-12-21 21:36:24 +0000
commite8ebf3f2dca6a7101448968be77aab9de16f131a (patch)
tree5ee43f60eaa47585c78894f495c4f7ef4ecc6dd7 /elf/dl-error.c
parent934b22a4f69afc5ca4613c187ab1bf28d7743683 (diff)
downloadglibc-e8ebf3f2dca6a7101448968be77aab9de16f131a.tar
glibc-e8ebf3f2dca6a7101448968be77aab9de16f131a.tar.gz
glibc-e8ebf3f2dca6a7101448968be77aab9de16f131a.tar.bz2
glibc-e8ebf3f2dca6a7101448968be77aab9de16f131a.zip
* sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast.
* elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call.
Diffstat (limited to 'elf/dl-error.c')
-rw-r--r--elf/dl-error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-error.c b/elf/dl-error.c
index b5374e949c..79ebaaf01b 100644
--- a/elf/dl-error.c
+++ b/elf/dl-error.c
@@ -113,7 +113,7 @@ _dl_signal_error (int errcode, const char *objname, const char *occation,
lcatch->malloced = false;
}
/* We do not restore the signal mask because none was saved. */
- __longjmp (lcatch->env, errcode ?: -1);
+ __longjmp (lcatch->env[0].__jmpbuf, errcode ?: -1);
}
else
{