summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/log.c b/log.c
index 32db0cb5f..0ce4d85f7 100644
--- a/log.c
+++ b/log.c
@@ -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