]> sourceware.org Git - glibc.git/commitdiff
(shm_open): Fix typo in last change.
authorUlrich Drepper <drepper@redhat.com>
Fri, 10 Aug 2007 23:21:18 +0000 (23:21 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 10 Aug 2007 23:21:18 +0000 (23:21 +0000)
sysdeps/unix/sysv/linux/shm_open.c

index 06284276802edda8ea7225e9e0ba78d30c7801e6..92d22cfa76588c8e91d245d28c6f2adb8ac8f3f4 100644 (file)
@@ -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)
This page took 0.044437 seconds and 5 git commands to generate.