diff options
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,8 +90,8 @@ static struct { | |||
90 | } log_levels[] = | 90 | } log_levels[] = |
91 | { | 91 | { |
92 | { "SILENT", SYSLOG_LEVEL_SILENT }, | 92 | { "SILENT", SYSLOG_LEVEL_SILENT }, |
93 | { "FATAL", SYSLOG_LEVEL_FATAL }, | ||
94 | { "QUIET", SYSLOG_LEVEL_QUIET }, | 93 | { "QUIET", SYSLOG_LEVEL_QUIET }, |
94 | { "FATAL", SYSLOG_LEVEL_FATAL }, | ||
95 | { "ERROR", SYSLOG_LEVEL_ERROR }, | 95 | { "ERROR", SYSLOG_LEVEL_ERROR }, |
96 | { "INFO", SYSLOG_LEVEL_INFO }, | 96 | { "INFO", SYSLOG_LEVEL_INFO }, |
97 | { "VERBOSE", SYSLOG_LEVEL_VERBOSE }, | 97 | { "VERBOSE", SYSLOG_LEVEL_VERBOSE }, |
@@ -223,8 +223,8 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | |||
223 | 223 | ||
224 | switch (level) { | 224 | switch (level) { |
225 | case SYSLOG_LEVEL_SILENT: | 225 | case SYSLOG_LEVEL_SILENT: |
226 | case SYSLOG_LEVEL_FATAL: | ||
227 | case SYSLOG_LEVEL_QUIET: | 226 | case SYSLOG_LEVEL_QUIET: |
227 | case SYSLOG_LEVEL_FATAL: | ||
228 | case SYSLOG_LEVEL_ERROR: | 228 | case SYSLOG_LEVEL_ERROR: |
229 | case SYSLOG_LEVEL_INFO: | 229 | case SYSLOG_LEVEL_INFO: |
230 | case SYSLOG_LEVEL_VERBOSE: | 230 | case SYSLOG_LEVEL_VERBOSE: |