From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rg6GB-00041a-Qk for garchives@archives.gentoo.org; Thu, 29 Dec 2011 03:02:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A68021C181 for ; Thu, 29 Dec 2011 03:02:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A322721C032 for ; Thu, 29 Dec 2011 02:18:01 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 21F0C1B402C for ; Thu, 29 Dec 2011 02:18:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 474B680043 for ; Thu, 29 Dec 2011 02:18:00 +0000 (UTC) From: "Christian Ruppert" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christian Ruppert" Message-ID: <8dcb7554ee627e9c1062cc1b4ab3bac8fcf89183.idl0r@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc-logger.c X-VCS-Directories: src/rc/ X-VCS-Committer: idl0r X-VCS-Committer-Name: Christian Ruppert X-VCS-Revision: 8dcb7554ee627e9c1062cc1b4ab3bac8fcf89183 Date: Thu, 29 Dec 2011 02:18:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 76c36191-129d-4729-9665-c35f9790baf0 X-Archives-Hash: 8e479dc97434610b5d368e49ebe026f5 commit: 8dcb7554ee627e9c1062cc1b4ab3bac8fcf89183 Author: Christian Ruppert gentoo org> AuthorDate: Thu Dec 29 02:16:53 2011 +0000 Commit: Christian Ruppert gentoo org> CommitDate: Thu Dec 29 02:16:53 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D8dcb7554 Use RC_LEVEL_SHUTDOWN --- src/rc/rc-logger.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/rc/rc-logger.c b/src/rc/rc-logger.c index 2b0c6be..22d7c72 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") !=3D 0) { + if (strcmp(level, RC_LEVEL_SHUTDOWN) !=3D 0) { log_error =3D 1; eerror("Error: fopen(%s) failed: %s", logfile, strerror(errno)); }