diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/mq_notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/mq_notify.c b/nptl/sysdeps/unix/sysv/linux/mq_notify.c index 1be452a0e0..49ddeae052 100644 --- a/nptl/sysdeps/unix/sysv/linux/mq_notify.c +++ b/nptl/sysdeps/unix/sysv/linux/mq_notify.c @@ -169,7 +169,7 @@ init_mq_netlink (void) if (netlink_socket == -1) { /* Just a normal netlink socket, not bound. */ - if (have_sock_cloexec) + if (have_sock_cloexec >= 0) { netlink_socket = socket (AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, 0); #if defined SOCK_CLOEXEC && !defined __ASSUME_SOCK_CLOEXEC |