summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
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 bb95c6c39..e55a54f16 100644
--- a/log.c
+++ b/log.c
@@ -193,10 +193,10 @@ debug3(const char *fmt,...)
193void 193void
194log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) 194log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
195{ 195{
196 argv0 = av0;
197#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT) 196#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT)
198 struct syslog_data sdata = SYSLOG_DATA_INIT; 197 struct syslog_data sdata = SYSLOG_DATA_INIT;
199#endif 198#endif
199 argv0 = av0;
200 200
201 switch (level) { 201 switch (level) {
202 case SYSLOG_LEVEL_QUIET: 202 case SYSLOG_LEVEL_QUIET: