summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2018-12-17 17:51:38 +0100
committerNick Kralevich <nnk@google.com>2018-12-17 17:51:38 +0100
commit39c53c8ac913042ed719085296c532a68ac68ee4 (patch)
tree5b5d0be0b02e6f7b608fd2f361726dbc7c642cf0
parentMerge "Show wipe data confirmation text in recovery mode" (diff)
downloadandroid_bootable_recovery-39c53c8ac913042ed719085296c532a68ac68ee4.tar
android_bootable_recovery-39c53c8ac913042ed719085296c532a68ac68ee4.tar.gz
android_bootable_recovery-39c53c8ac913042ed719085296c532a68ac68ee4.tar.bz2
android_bootable_recovery-39c53c8ac913042ed719085296c532a68ac68ee4.tar.lz
android_bootable_recovery-39c53c8ac913042ed719085296c532a68ac68ee4.tar.xz
android_bootable_recovery-39c53c8ac913042ed719085296c532a68ac68ee4.tar.zst
android_bootable_recovery-39c53c8ac913042ed719085296c532a68ac68ee4.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;
}