summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/log.c b/log.c
index 11633fe3f..6131f4cdd 100644
--- a/log.c
+++ b/log.c
@@ -57,6 +57,9 @@ static struct {
57 { "DAEMON", SYSLOG_FACILITY_DAEMON }, 57 { "DAEMON", SYSLOG_FACILITY_DAEMON },
58 { "USER", SYSLOG_FACILITY_USER }, 58 { "USER", SYSLOG_FACILITY_USER },
59 { "AUTH", SYSLOG_FACILITY_AUTH }, 59 { "AUTH", SYSLOG_FACILITY_AUTH },
60#ifdef LOG_AUTHPRIV
61 { "AUTHPRIV", SYSLOG_FACILITY_AUTHPRIV },
62#endif
60 { "LOCAL0", SYSLOG_FACILITY_LOCAL0 }, 63 { "LOCAL0", SYSLOG_FACILITY_LOCAL0 },
61 { "LOCAL1", SYSLOG_FACILITY_LOCAL1 }, 64 { "LOCAL1", SYSLOG_FACILITY_LOCAL1 },
62 { "LOCAL2", SYSLOG_FACILITY_LOCAL2 }, 65 { "LOCAL2", SYSLOG_FACILITY_LOCAL2 },
@@ -284,12 +287,10 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
284 case SYSLOG_FACILITY_AUTH: 287 case SYSLOG_FACILITY_AUTH:
285 log_facility = LOG_AUTH; 288 log_facility = LOG_AUTH;
286 break; 289 break;
287#if 0 /* This is broken. =) - BAL */ 290#ifdef LOG_AUTHPRIV
288#ifdef LOG_AUTHPRIV /** BAL: Verify */ 291 case SYSLOG_FACILITY_AUTHPRIV:
289 case SYSLOG_FACILITY_AUTHPRIV 292 log_facility = LOG_AUTHPRIV;
290 log_facility = AUTHPRIV; 293 break;
291 break
292#endif
293#endif 294#endif
294 case SYSLOG_FACILITY_LOCAL0: 295 case SYSLOG_FACILITY_LOCAL0:
295 log_facility = LOG_LOCAL0; 296 log_facility = LOG_LOCAL0;