| Index: runtime/bin/eventhandler_linux.cc
|
| diff --git a/runtime/bin/eventhandler_linux.cc b/runtime/bin/eventhandler_linux.cc
|
| index a589e78e15d0872d9b45d19562df50a2ba3aac1c..5ee2f84d69f020933430ee334064bd7797c02c21 100644
|
| --- a/runtime/bin/eventhandler_linux.cc
|
| +++ b/runtime/bin/eventhandler_linux.cc
|
| @@ -9,6 +9,7 @@
|
| #include <stdio.h>
|
| #include <string.h>
|
| #include <sys/epoll.h>
|
| +#include <sys/stat.h>
|
| #include <sys/time.h>
|
| #include <unistd.h>
|
|
|
| @@ -87,7 +88,7 @@ static void UpdateEpollInstance(intptr_t epoll_fd_, SocketData* sd) {
|
| sd->set_tracked_by_epoll(true);
|
| }
|
| if (status == -1) {
|
| - FATAL("Failed updating epoll instance");
|
| + FATAL1("Failed updating epoll instance: %s", strerror(errno));
|
| }
|
| }
|
| }
|
|
|