Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 649d2d35 authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Merge "use epoll_create1"

am: a8d712ec

Change-Id: I9ddf1a6a059db39ad79d45915f43d9ef6cc456a9
parents acdb8d8d a8d712ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ static bool test_bit(size_t bit, unsigned long* array) { // NOLINT
}

int ev_init(ev_callback input_cb, bool allow_touch_inputs) {
  g_epoll_fd = epoll_create(MAX_DEVICES + MAX_MISC_FDS);
  g_epoll_fd = epoll_create1(EPOLL_CLOEXEC);
  if (g_epoll_fd == -1) {
    return -1;
  }