diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/shm_open.c | 2 |
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 0628427..92d22cf 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) |