summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2018-12-17 23:13:29 +0100
committerandroid-build-merger <android-build-merger@google.com>2018-12-17 23:13:29 +0100
commitcc2879d8b678afdd57f70e649ce122927345ecb7 (patch)
tree7476c222b110dbbf9a7f9c091e2e7da06539de87
parentMerge "applypatch: Fix comparison of integers of different signs." am: dfbdaf3f1d am: acdb8d8d18 (diff)
parentMerge "use epoll_create1" am: a8d712ec50 (diff)
downloadandroid_bootable_recovery-cc2879d8b678afdd57f70e649ce122927345ecb7.tar
android_bootable_recovery-cc2879d8b678afdd57f70e649ce122927345ecb7.tar.gz
android_bootable_recovery-cc2879d8b678afdd57f70e649ce122927345ecb7.tar.bz2
android_bootable_recovery-cc2879d8b678afdd57f70e649ce122927345ecb7.tar.lz
android_bootable_recovery-cc2879d8b678afdd57f70e649ce122927345ecb7.tar.xz
android_bootable_recovery-cc2879d8b678afdd57f70e649ce122927345ecb7.tar.zst
android_bootable_recovery-cc2879d8b678afdd57f70e649ce122927345ecb7.zip
-rw-r--r--minui/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/events.cpp b/minui/events.cpp
index 2894c3b6b..d94e97723 100644
--- a/minui/events.cpp
+++ b/minui/events.cpp
@@ -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;
}