From: Roy Marples Date: Wed, 13 May 2015 00:53:45 +0000 (+0000) Subject: Ensure kqueue/epoll fd is open on init. X-Git-Tag: v6.9.0~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f88431f0c60d34eea479c8d5fa6f0e4dbb761e40;p=thirdparty%2Fdhcpcd.git Ensure kqueue/epoll fd is open on init. --- diff --git a/eloop.c b/eloop.c index dc2a681f..091f3b8a 100644 --- a/eloop.c +++ b/eloop.c @@ -614,6 +614,7 @@ eloop_new(void) eloop->exitcode = EXIT_FAILURE; #if defined(HAVE_KQUEUE) || defined(HAVE_EPOLL) eloop->poll_fd = -1; + eloop_open(eloop); #endif }