summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-05 21:28:31 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-05 21:28:31 +0200
commitdaaee1de182b94fa262068cd9acddec810396452 (patch)
treefa831cef4a0cc7a81b3081d4e46eb620629fdc21 /libc
parent8192a60a71150b4ee9cc0b2300fb13a6449af24c (diff)
math.h: fix trivial typo (missing !): !defined __NO_LONG_DOUBLE_MATH
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/syslog/syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c
index da60874b3..dbb1e0d01 100644
--- a/libc/misc/syslog/syslog.c
+++ b/libc/misc/syslog/syslog.c
@@ -164,7 +164,7 @@ retry:
if ((LogFile = socket(AF_UNIX, logType, 0)) == -1) {
goto DONE;
}
- fcntl(LogFile, F_SETFD, 1); /* 1 == FD_CLOEXEC */
+ fcntl(LogFile, F_SETFD, FD_CLOEXEC);
/* We don't want to block if e.g. syslogd is SIGSTOPed */
fcntl(LogFile, F_SETFL, O_NONBLOCK | fcntl(LogFile, F_GETFL));
}