diff options
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -90,7 +90,7 @@ static struct { | |||
90 | LogLevel val; | 90 | LogLevel val; |
91 | } log_levels[] = | 91 | } log_levels[] = |
92 | { | 92 | { |
93 | { "SILENT", SYSLOG_LEVEL_SILENT }, | 93 | { "SILENT", SYSLOG_LEVEL_QUIET }, /* compatibility */ |
94 | { "QUIET", SYSLOG_LEVEL_QUIET }, | 94 | { "QUIET", SYSLOG_LEVEL_QUIET }, |
95 | { "FATAL", SYSLOG_LEVEL_FATAL }, | 95 | { "FATAL", SYSLOG_LEVEL_FATAL }, |
96 | { "ERROR", SYSLOG_LEVEL_ERROR }, | 96 | { "ERROR", SYSLOG_LEVEL_ERROR }, |
@@ -245,7 +245,6 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | |||
245 | argv0 = av0; | 245 | argv0 = av0; |
246 | 246 | ||
247 | switch (level) { | 247 | switch (level) { |
248 | case SYSLOG_LEVEL_SILENT: | ||
249 | case SYSLOG_LEVEL_QUIET: | 248 | case SYSLOG_LEVEL_QUIET: |
250 | case SYSLOG_LEVEL_FATAL: | 249 | case SYSLOG_LEVEL_FATAL: |
251 | case SYSLOG_LEVEL_ERROR: | 250 | case SYSLOG_LEVEL_ERROR: |