summaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-20 09:55:54 +0200
committerDarren Tucker <dtucker@zip.com.au>2006-08-20 09:55:54 +0200
commitaa1517ca1e7e71070b77357626c87dcf9ee30697 (patch)
tree3544095969d5e91b6eb65c935bb7de389bbde34e /log.c
parent - (dtucker) [openbsd-compat/regress/Makefile.in] Add $(EXEEXT) and add a (diff)
downloadopenssh-aa1517ca1e7e71070b77357626c87dcf9ee30697.tar.xz
openssh-aa1517ca1e7e71070b77357626c87dcf9ee30697.zip
- (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,...)
void
sigdie(const char *fmt,...)
{
+#ifdef DO_LOG_SAFE_IN_SIGHAND
va_list args;
-#ifdef DO_LOG_SAFE_IN_SIGHAND
va_start(args, fmt);
do_log(SYSLOG_LEVEL_FATAL, fmt, args);
va_end(args);