[systemd-commits] src/log.c

Lennart Poettering lennart at kemper.freedesktop.org
Thu Nov 11 16:02:10 PST 2010


 src/log.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f41c094c9fb6760b27996aacfe1e66f2f2f415cb
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Nov 12 01:02:03 2010 +0100

    log: fix build

diff --git a/src/log.c b/src/log.c
index 3e7b8e9..a2a648a 100644
--- a/src/log.c
+++ b/src/log.c
@@ -198,7 +198,7 @@ int log_open(void) {
 
         if (log_target != LOG_TARGET_AUTO ||
             getpid() == 1 ||
-            isatty(STDERR_FILENO) <= 0)) {
+            isatty(STDERR_FILENO) <= 0) {
 
                 if (log_target == LOG_TARGET_AUTO ||
                     log_target == LOG_TARGET_SYSLOG_OR_KMSG ||



More information about the systemd-commits mailing list