| Index: runtime/bin/eventhandler_linux.cc
|
| diff --git a/runtime/bin/eventhandler_linux.cc b/runtime/bin/eventhandler_linux.cc
|
| index a7a1049203df9580db8619755e7eab9fc6148681..612f3cb811ecaf108d372ad31cfb98bf9c3fb27d 100644
|
| --- a/runtime/bin/eventhandler_linux.cc
|
| +++ b/runtime/bin/eventhandler_linux.cc
|
| @@ -64,12 +64,12 @@ EventHandlerImplementation::EventHandlerImplementation() : shutdown_(false) {
|
| static const int kEpollInitialSize = 64;
|
| epoll_fd_ = TEMP_FAILURE_RETRY(epoll_create(kEpollInitialSize));
|
| if (epoll_fd_ == -1) {
|
| - FATAL("Failed creating epoll file descriptor");
|
| + FATAL1("Failed creating epoll file descriptor: %i", errno);
|
| }
|
| FDUtils::SetCloseOnExec(epoll_fd_);
|
| timer_fd_ = TEMP_FAILURE_RETRY(timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC));
|
| - if (epoll_fd_ == -1) {
|
| - FATAL("Failed creating timerfd file descriptor");
|
| + if (timer_fd_ == -1) {
|
| + FATAL1("Failed creating timerfd file descriptor: %i", errno);
|
| }
|
| // Register the timer_fd_ with the epoll instance.
|
| struct epoll_event event;
|
|
|