summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-10 23:21:18 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-10 23:21:18 +0000
commit916ee8bcba20a92ce4c4633667b5b37a12f8cba3 (patch)
tree37ed6803c1f4d67053b1a94c772116faec7c7ddd /sysdeps
parent22532966df95f86f0159c6317d0109b3246023a3 (diff)
(shm_open): Fix typo in last change.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/shm_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/shm_open.c b/sysdeps/unix/sysv/linux/shm_open.c
index 0628427680..92d22cfa76 100644
--- a/sysdeps/unix/sysv/linux/shm_open.c
+++ b/sysdeps/unix/sysv/linux/shm_open.c
@@ -187,7 +187,7 @@ shm_open (const char *name, int oflag, mode_t mode)
if (__builtin_expect (flags, 0) >= 0)
{
-# ifndef O_CLOEXEC
+# ifdef O_CLOEXEC
if (have_o_cloexec == 0)
have_o_cloexec = (flags & FD_CLOEXEC) == 0 ? -1 : 1;
if (have_o_cloexec < 0)