diff options
| author | David Lamparter <equinox@diac24.net> | 2019-06-03 18:04:32 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-06-03 18:57:31 +0200 | 
| commit | c22f6d8cde9811c6b56d266d1b381c9a051ebf38 (patch) | |
| tree | 90820784a7e0e032634f04b4dee322d12ee623b7 /lib/log.h | |
| parent | b9911c2e4ecdac4530b7c573be3c2de77c8b0aea (diff) | |
lib: simplify SEGV handler
printfrr is AS-Safe, let's simplify the SEGV handler quite a bit by
relying on that.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/log.h')
| -rw-r--r-- | lib/log.h | 8 | 
1 files changed, 2 insertions, 6 deletions
@@ -128,12 +128,8 @@ const char *lookup_msg(const struct message *mz, int kz, const char *nf);  extern const char *safe_strerror(int errnum);  /* To be called when a fatal signal is caught. */ -extern void zlog_signal(int signo, const char *action -#ifdef SA_SIGINFO -			, -			siginfo_t *siginfo, void *program_counter -#endif -			); +extern void zlog_signal(int signo, const char *action, void *siginfo, +			void *program_counter);  /* Log a backtrace. */  extern void zlog_backtrace(int priority);  | 
