diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-11-20 13:58:03 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-11-20 13:58:03 -0800 |
commit | 7f0dfae0f26b3f72313ef255b86962a114ec7eed (patch) | |
tree | a6d562c9b8e6ceef0dc5a03b32727fbea9b3ad78 /nptl | |
parent | 2f531bbb7b0458a303e8969f1e830467ca684443 (diff) | |
download | glibc-7f0dfae0f26b3f72313ef255b86962a114ec7eed.zip glibc-7f0dfae0f26b3f72313ef255b86962a114ec7eed.tar.gz glibc-7f0dfae0f26b3f72313ef255b86962a114ec7eed.tar.bz2 |
NPTL: Use __libc_fatal in unwind.c.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/unwind.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/nptl/unwind.c b/nptl/unwind.c index a71015a..f109019 100644 --- a/nptl/unwind.c +++ b/nptl/unwind.c @@ -18,6 +18,7 @@ <http://www.gnu.org/licenses/>. */ #include <setjmp.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> @@ -103,11 +104,7 @@ unwind_cleanup (_Unwind_Reason_Code reason, struct _Unwind_Exception *exc) { /* When we get here a C++ catch block didn't rethrow the object. We cannot handle this case and therefore abort. */ -# define STR_N_LEN(str) str, strlen (str) - INTERNAL_SYSCALL_DECL (err); - INTERNAL_SYSCALL (write, err, 3, STDERR_FILENO, - STR_N_LEN ("FATAL: exception not rethrown\n")); - abort (); + __libc_fatal ("FATAL: exception not rethrown\n"); } #endif /* have forced unwind */ |