]> err.no Git - systemd/commitdiff
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 3e7b8e93b7ec4ad32a8934f09d2087fc9e9e895b..a2a648a93cc8939f55ea93ed53c939b75cd067c6 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 ||