From 7b91359b2cb44b56478e7a5ef9070737fa266656 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 26 Jul 2008 22:22:24 +0000 Subject: * Makeconfig: Define pie-ccflag and PIE-ccflag variables. * elf/Makefile: Use pie-ccflag variable. * nscd/Makefile: Likewise. * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE. --- nptl/sysdeps/unix/sysv/linux/mq_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl') diff --git a/nptl/sysdeps/unix/sysv/linux/mq_notify.c b/nptl/sysdeps/unix/sysv/linux/mq_notify.c index 1be452a..49ddeae 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 -- cgit v1.1