diff options
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -142,9 +142,11 @@ sigdie(const char *fmt,...) | |||
142 | { | 142 | { |
143 | va_list args; | 143 | va_list args; |
144 | 144 | ||
145 | #ifdef DO_LOG_SAFE_IN_SIGHAND | ||
145 | va_start(args, fmt); | 146 | va_start(args, fmt); |
146 | do_log(SYSLOG_LEVEL_FATAL, fmt, args); | 147 | do_log(SYSLOG_LEVEL_FATAL, fmt, args); |
147 | va_end(args); | 148 | va_end(args); |
149 | #endif | ||
148 | _exit(1); | 150 | _exit(1); |
149 | } | 151 | } |
150 | 152 | ||