summaryrefslogtreecommitdiff
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
parentf0625699dff5e62e69b454acd9ea4c5bef7787b5 (diff)
- (dtucker) [log.c] Move ifdef to prevent unused variable warning.
-rw-r--r--ChangeLog5
-rw-r--r--log.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e24ad3444..206efa7e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120060820
2 - (dtucker) [log.c] Move ifdef to prevent unused variable warning.
3
120060819 420060819
2 - (djm) OpenBSD CVS Sync 5 - (djm) OpenBSD CVS Sync
3 - djm@cvs.openbsd.org 2006/08/18 22:41:29 6 - djm@cvs.openbsd.org 2006/08/18 22:41:29
@@ -5274,4 +5277,4 @@
5274 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5277 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5275 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5278 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5276 5279
5277$Id: ChangeLog,v 1.4498 2006/08/19 09:12:14 dtucker Exp $ 5280$Id: ChangeLog,v 1.4499 2006/08/20 07:55:54 dtucker Exp $
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);