summaryrefslogtreecommitdiff
path: root/make/check_eventfd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'make/check_eventfd.cpp')
-rw-r--r--make/check_eventfd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/check_eventfd.cpp b/make/check_eventfd.cpp
index 9746ed733..5fc72ee3b 100644
--- a/make/check_eventfd.cpp
+++ b/make/check_eventfd.cpp
@@ -1,6 +1,6 @@
#include <sys/eventfd.h>
int main() {
- int fd = eventfd(0, 0);
+ int fd = eventfd(0, EFD_NONBLOCK);
return (fd < 0);
}