mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
(shm_open): Fix typo in last change.
This commit is contained in:
@ -187,7 +187,7 @@ shm_open (const char *name, int oflag, mode_t mode)
|
|||||||
|
|
||||||
if (__builtin_expect (flags, 0) >= 0)
|
if (__builtin_expect (flags, 0) >= 0)
|
||||||
{
|
{
|
||||||
# ifndef O_CLOEXEC
|
# ifdef O_CLOEXEC
|
||||||
if (have_o_cloexec == 0)
|
if (have_o_cloexec == 0)
|
||||||
have_o_cloexec = (flags & FD_CLOEXEC) == 0 ? -1 : 1;
|
have_o_cloexec = (flags & FD_CLOEXEC) == 0 ? -1 : 1;
|
||||||
if (have_o_cloexec < 0)
|
if (have_o_cloexec < 0)
|
||||||
|
Reference in New Issue
Block a user