From e014d20b39510dce9947655fad15192ec519786f Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 20 Aug 2019 14:33:40 -0500 Subject: [PATCH] accept4: Fix typo in previous commit * lib/accept4.c (accept4): Use correct preprocessor condition. Signed-off-by: Eric Blake --- lib/accept4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5