Commit b57a272f authored by Max Kellermann's avatar Max Kellermann

system/EPollFD: throw exception instead of raising fatal error

parent ef79647e
......@@ -20,7 +20,7 @@
#include "config.h"
#ifdef USE_EPOLL
#include "EPollFD.hxx"
#include "FatalError.hxx"
#include "Error.hxx"
#ifdef __BIONIC__
......@@ -41,7 +41,7 @@ EPollFD::EPollFD()
:fd(::epoll_create1(EPOLL_CLOEXEC))
{
if (fd < 0)
FatalSystemError("epoll_create1() failed");
throw MakeErrno("epoll_create1() failed");
}
#endif /* USE_EPOLL */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment