Merge pull request #1698 from ludovic-henry/socket-reorg-2
[mono.git] / mono / metadata / threadpool-ms-io.c
index e92caac8682e0502388a4df44557391cbf159b4a..772a2fe5c6cef28614acadbf5c93efc698131fc5 100644 (file)
@@ -259,7 +259,7 @@ epoll_init (void)
 #ifdef EPOOL_CLOEXEC
        threadpool_io->epoll.fd = epoll_create1 (EPOLL_CLOEXEC);
 #else
-       threadpool_io->epoll.fd = epoll_create1 (256);
+       threadpool_io->epoll.fd = epoll_create (256);
        fcntl (threadpool_io->epoll.fd, F_SETFD, FD_CLOEXEC);
 #endif