summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-20 17:55:54 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-08-20 17:55:54 +1000
commitaa1517ca1e7e71070b77357626c87dcf9ee30697 (patch)
tree3544095969d5e91b6eb65c935bb7de389bbde34e /log.c
parentf0625699dff5e62e69b454acd9ea4c5bef7787b5 (diff)
- (dtucker) [log.c] Move ifdef to prevent unused variable warning.
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index 0ce4d85f7..7f8867482 100644
--- a/log.c
+++ b/log.c
@@ -140,9 +140,9 @@ error(const char *fmt,...)
140void 140void
141sigdie(const char *fmt,...) 141sigdie(const char *fmt,...)
142{ 142{
143#ifdef DO_LOG_SAFE_IN_SIGHAND
143 va_list args; 144 va_list args;
144 145
145#ifdef DO_LOG_SAFE_IN_SIGHAND
146 va_start(args, fmt); 146 va_start(args, fmt);
147 do_log(SYSLOG_LEVEL_FATAL, fmt, args); 147 do_log(SYSLOG_LEVEL_FATAL, fmt, args);
148 va_end(args); 148 va_end(args);