aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-logger.c
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2011-12-29 03:16:53 +0100
committerChristian Ruppert <idl0r@gentoo.org>2011-12-29 03:16:53 +0100
commit8dcb7554ee627e9c1062cc1b4ab3bac8fcf89183 (patch)
treedc37b248f1a147f86093f9ab9413eb25327b9b9e /src/rc/rc-logger.c
parentb754a27f627ddeab57835761058ee0fd2e1cac42 (diff)
Use RC_LEVEL_SHUTDOWN
Diffstat (limited to 'src/rc/rc-logger.c')
-rw-r--r--src/rc/rc-logger.c2
1 files changed, 1 insertions, 1 deletions
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));
}