From 8dcb7554ee627e9c1062cc1b4ab3bac8fcf89183 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Thu, 29 Dec 2011 03:16:53 +0100 Subject: Use RC_LEVEL_SHUTDOWN --- src/rc/rc-logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc') diff --git a/src/rc/rc-logger.c b/src/rc/rc-logger.c index 2b0c6be6..22d7c725 100644 --- a/src/rc/rc-logger.c +++ b/src/rc/rc-logger.c @@ -280,7 +280,7 @@ rc_logger_open(const char *level) * logfile or its basedir may be read-only during shutdown so skip * the error in this case */ - if (strcmp(level, "shutdown") != 0) { + if (strcmp(level, RC_LEVEL_SHUTDOWN) != 0) { log_error = 1; eerror("Error: fopen(%s) failed: %s", logfile, strerror(errno)); } -- cgit v1.2.3