(shm_open): Fix typo in last change.

This commit is contained in:
Ulrich Drepper 2007-08-10 23:21:18 +00:00
parent 22532966df
commit 916ee8bcba
1 changed files with 1 additions and 1 deletions

View 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)