summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index 3e7b8e93b7..a2a648a93c 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 ||