From 183245891acd7d4d558088c41ff356cc5ca0e007 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 13 Jun 2007 00:12:59 +0000 Subject: * Fix ordering of SYSLOG_LEVEL_QUIET and SYSLOG_LEVEL_FATAL. --- log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'log.c') diff --git a/log.c b/log.c index f7256d8e5..1c2f515f4 100644 --- a/log.c +++ b/log.c @@ -90,8 +90,8 @@ static struct { } log_levels[] = { { "SILENT", SYSLOG_LEVEL_SILENT }, - { "FATAL", SYSLOG_LEVEL_FATAL }, { "QUIET", SYSLOG_LEVEL_QUIET }, + { "FATAL", SYSLOG_LEVEL_FATAL }, { "ERROR", SYSLOG_LEVEL_ERROR }, { "INFO", SYSLOG_LEVEL_INFO }, { "VERBOSE", SYSLOG_LEVEL_VERBOSE }, @@ -223,8 +223,8 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) switch (level) { case SYSLOG_LEVEL_SILENT: - case SYSLOG_LEVEL_FATAL: case SYSLOG_LEVEL_QUIET: + case SYSLOG_LEVEL_FATAL: case SYSLOG_LEVEL_ERROR: case SYSLOG_LEVEL_INFO: case SYSLOG_LEVEL_VERBOSE: -- cgit v1.2.3