summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/log.c b/log.c
index 4a8239b93..249913785 100644
--- a/log.c
+++ b/log.c
@@ -90,6 +90,7 @@ static struct {
90 LogLevel val; 90 LogLevel val;
91} log_levels[] = 91} log_levels[] =
92{ 92{
93 { "SILENT", SYSLOG_LEVEL_SILENT },
93 { "QUIET", SYSLOG_LEVEL_QUIET }, 94 { "QUIET", SYSLOG_LEVEL_QUIET },
94 { "FATAL", SYSLOG_LEVEL_FATAL }, 95 { "FATAL", SYSLOG_LEVEL_FATAL },
95 { "ERROR", SYSLOG_LEVEL_ERROR }, 96 { "ERROR", SYSLOG_LEVEL_ERROR },
@@ -244,6 +245,7 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
244 argv0 = av0; 245 argv0 = av0;
245 246
246 switch (level) { 247 switch (level) {
248 case SYSLOG_LEVEL_SILENT:
247 case SYSLOG_LEVEL_QUIET: 249 case SYSLOG_LEVEL_QUIET:
248 case SYSLOG_LEVEL_FATAL: 250 case SYSLOG_LEVEL_FATAL:
249 case SYSLOG_LEVEL_ERROR: 251 case SYSLOG_LEVEL_ERROR: