From 916ee8bcba20a92ce4c4633667b5b37a12f8cba3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 10 Aug 2007 23:21:18 +0000 Subject: (shm_open): Fix typo in last change. --- sysdeps/unix/sysv/linux/shm_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') 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) -- cgit 1.4.1