diff options
author | Colin Watson <cjwatson@debian.org> | 2007-06-13 00:12:59 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2007-06-13 00:12:59 +0000 |
commit | 183245891acd7d4d558088c41ff356cc5ca0e007 (patch) | |
tree | a48dc08ae5c0e1ac7fe62221d16c02f1c2e45aad /log.c | |
parent | 2f43fdd250b64337fbc27464be1718ff7911afd3 (diff) |
* Fix ordering of SYSLOG_LEVEL_QUIET and SYSLOG_LEVEL_FATAL.
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: |