chiark / gitweb /
log: fix build
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Nov 2010 00:02:03 +0000 (01:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Nov 2010 00:02:03 +0000 (01:02 +0100)
src/log.c

index 3e7b8e9..a2a648a 100644 (file)
--- 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 ||