summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2005-03-09 15:52:09 +1100
committerDamien Miller <djm@mindrot.org>2005-03-09 15:52:09 +1100
commit485bab886137bbf8b7ec8df82bd66dc6e5654371 (patch)
tree30ddb3f3417ad411a590b8c9a1e68b384df25376
parentf66530a91fd99a291a18c4c829e93730344fe4b9 (diff)
- (djm) [log.c] Fix dumb syntax error; ok dtucker@V_4_0_P1
-rw-r--r--ChangeLog3
-rw-r--r--log.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 138e3240..046e32e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
OpenSSH 4.0
- (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
[contrib/suse/openssh.spec] Update spec file versions
+ - (djm) [log.c] Fix dumb syntax error; ok dtucker@
- (djm) Release OpenSSH 4.0p1
20050307
@@ -2320,4 +2321,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.3707 2005/03/09 00:03:08 djm Exp $
+$Id: ChangeLog,v 1.3707.2.1 2005/03/09 04:52:09 djm Exp $
diff --git a/log.c b/log.c
index bb95c6c3..e55a54f1 100644
--- a/log.c
+++ b/log.c
@@ -193,10 +193,10 @@ debug3(const char *fmt,...)
void
log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
{
- argv0 = av0;
#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT)
struct syslog_data sdata = SYSLOG_DATA_INIT;
#endif
+ argv0 = av0;
switch (level) {
case SYSLOG_LEVEL_QUIET: