From 7f0dfae0f26b3f72313ef255b86962a114ec7eed Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 20 Nov 2014 13:58:03 -0800 Subject: NPTL: Use __libc_fatal in unwind.c. --- nptl/unwind.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'nptl/unwind.c') diff --git a/nptl/unwind.c b/nptl/unwind.c index a71015a2f1..f109019b2e 100644 --- a/nptl/unwind.c +++ b/nptl/unwind.c @@ -18,6 +18,7 @@ . */ #include +#include #include #include #include @@ -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 */ -- cgit v1.2.3