summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2019-08-20 14:33:40 -0500
committerEric Blake <eblake@redhat.com>2019-08-20 14:33:40 -0500
commite014d20b39510dce9947655fad15192ec519786f (patch)
tree9486ca12a3a33f74946219ac61804b6b39387ae4 /lib
parentb3ee76fab752ae51f408df764bf6f7df913669cd (diff)
downloadgnulib-e014d20b39510dce9947655fad15192ec519786f.tar.gz
accept4: Fix typo in previous commit
* lib/accept4.c (accept4): Use correct preprocessor condition. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/accept4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/accept4.c b/lib/accept4.c
index 9ce78fa969..eb8d8b1300 100644
--- a/lib/accept4.c
+++ b/lib/accept4.c
@@ -124,7 +124,7 @@ accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)
# endif
#endif
-#if SOCK_CLOEXEC
+#if SOCK_NONBLOCK
if (flags & SOCK_NONBLOCK)
{
int fcntl_flags;