about summary refs log tree commit diff
path: root/misc/syslog.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-30 15:55:18 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-30 15:55:18 +0000
commit340f76a28417cb895ddef6d7836634263a7edf29 (patch)
treef05f5765550ef84b27d6fbc2edc5c7bae49ac8c6 /misc/syslog.c
parent0424d007011745b5b05946fd2e1605ada8b1a28c (diff)
downloadglibc-340f76a28417cb895ddef6d7836634263a7edf29.tar.gz
glibc-340f76a28417cb895ddef6d7836634263a7edf29.tar.xz
glibc-340f76a28417cb895ddef6d7836634263a7edf29.zip
(openlog_internal): Fix compile problem.
Diffstat (limited to 'misc/syslog.c')
-rw-r--r--misc/syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/syslog.c b/misc/syslog.c
index baa180bb7b..8f84faf75c 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)