diff options
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,10 +193,10 @@ debug3(const char *fmt,...) | |||
193 | void | 193 | void |
194 | log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | 194 | log_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: |