aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-04-29 09:06:13 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-04-29 09:06:13 +0000
commit7317e6b1fd8229f2e0923a9994b951f8a691d849 (patch)
treef18aee2f9cbe1c489445fea5de195a68fb2b5a27 /lib
parentf0f62729eea2d4d707490a34f105b1cd86a8b3be (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/abort.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdlib/abort.c b/lib/libc/stdlib/abort.c
index 4fd34dcb75c0..b6b4be950341 100644
--- a/lib/libc/stdlib/abort.c
+++ b/lib/libc/stdlib/abort.c
@@ -74,11 +74,10 @@ abort()
* if SIGABRT ignored, or caught and the handler returns, do
* it again, only harder.
*/
+ (void)signal(SIGABRT, SIG_DFL);
#ifdef _THREAD_SAFE
- (void) _thread_sys_signal(SIGABRT, SIG_DFL);
(void) _thread_sys_sigprocmask(SIG_SETMASK, &mask, (sigset_t *)NULL);
#else
- (void)signal(SIGABRT, SIG_DFL);
(void)sigprocmask(SIG_SETMASK, &mask, (sigset_t *)NULL);
#endif
(void)kill(getpid(), SIGABRT);