aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/syslog.c b/misc/syslog.c
index baa180b..8f84faf 100644
--- a/misc/syslog.c
+++ b/misc/syslog.c
@@ -360,9 +360,9 @@ openlog_internal(const char *ident, int logstat, int logfac)
__have_sock_cloexec
= (LogFile != -1
|| errno != EINVAL);
-#endif
}
#endif
+#endif
#ifndef __ASSUME_SOCK_CLOEXEC
# ifdef SOCK_CLOEXEC
if (__have_sock_cloexec < 0)