diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-08-10 23:21:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-08-10 23:21:18 +0000 |
commit | 916ee8bcba20a92ce4c4633667b5b37a12f8cba3 (patch) | |
tree | 37ed6803c1f4d67053b1a94c772116faec7c7ddd | |
parent | 22532966df95f86f0159c6317d0109b3246023a3 (diff) | |
download | glibc-916ee8bcba20a92ce4c4633667b5b37a12f8cba3.zip glibc-916ee8bcba20a92ce4c4633667b5b37a12f8cba3.tar.gz glibc-916ee8bcba20a92ce4c4633667b5b37a12f8cba3.tar.bz2 |
(shm_open): Fix typo in last change.
-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) |