diff options
author | Nick Kralevich <nnk@google.com> | 2018-12-17 23:05:25 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-12-17 23:05:25 +0100 |
commit | 78f126e5a23280dfb4d1cba78cc87afa168ecb66 (patch) | |
tree | 6a4b0ee0c8723411becfc93b29c8d11bbe03fc55 | |
parent | Merge "applypatch: Fix comparison of integers of different signs." am: dfbdaf3f1d (diff) | |
parent | Merge "use epoll_create1" (diff) | |
download | android_bootable_recovery-78f126e5a23280dfb4d1cba78cc87afa168ecb66.tar android_bootable_recovery-78f126e5a23280dfb4d1cba78cc87afa168ecb66.tar.gz android_bootable_recovery-78f126e5a23280dfb4d1cba78cc87afa168ecb66.tar.bz2 android_bootable_recovery-78f126e5a23280dfb4d1cba78cc87afa168ecb66.tar.lz android_bootable_recovery-78f126e5a23280dfb4d1cba78cc87afa168ecb66.tar.xz android_bootable_recovery-78f126e5a23280dfb4d1cba78cc87afa168ecb66.tar.zst android_bootable_recovery-78f126e5a23280dfb4d1cba78cc87afa168ecb66.zip |
-rw-r--r-- | minui/events.cpp | 2 |
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; } |