diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/fault.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/util/fault.c b/lib/util/fault.c index cb51cbd859a..11b31d751e8 100644 --- a/lib/util/fault.c +++ b/lib/util/fault.c @@ -145,7 +145,7 @@ _PUBLIC_ _NORETURN_ void smb_panic(const char *why) call_backtrace(); #ifdef SIGABRT - CatchSignal(SIGABRT,SIGNAL_CAST SIG_DFL); + CatchSignal(SIGABRT, SIG_DFL); #endif abort(); } @@ -191,16 +191,16 @@ _PUBLIC_ void fault_setup(const char *pname) progname = pname; } #ifdef SIGSEGV - CatchSignal(SIGSEGV,SIGNAL_CAST sig_fault); + CatchSignal(SIGSEGV, sig_fault); #endif #ifdef SIGBUS - CatchSignal(SIGBUS,SIGNAL_CAST sig_fault); + CatchSignal(SIGBUS, sig_fault); #endif #ifdef SIGABRT - CatchSignal(SIGABRT,SIGNAL_CAST sig_fault); + CatchSignal(SIGABRT, sig_fault); #endif #ifdef SIGFPE - CatchSignal(SIGFPE,SIGNAL_CAST sig_fault); + CatchSignal(SIGFPE, sig_fault); #endif } |