(openlog_internal): Fix compile problem.
authorUlrich Drepper <drepper@redhat.com>
Wed, 30 Jul 2008 15:55:18 +0000 (15:55 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 30 Jul 2008 15:55:18 +0000 (15:55 +0000)
misc/syslog.c

index baa180b..8f84faf 100644 (file)
@@ -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)