commit | 975bfe11460b04f8e49e0d6f3fb086c1ed28ee48 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Tue Mar 24 18:17:53 2020 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Thu Mar 26 20:50:35 2020 +0000 |
tree | 5a3c1e25509b169026ff9a52d30133d7bb8fc0c1 | |
parent | fc51af215b03eaa712e564ab66a338479703a013 [diff] [blame] |
init: add missing TEMP_FAILURE_RETRY Bug: 150863651 Test: boot Merged-In: I09e86e08a716c2c2933e090d57818a9aad6486f8 Change-Id: I09e86e08a716c2c2933e090d57818a9aad6486f8
diff --git a/init/init.cpp b/init/init.cpp index 81a097e..a88d127 100644 --- a/init/init.cpp +++ b/init/init.cpp
@@ -138,7 +138,7 @@ static void WakeEpoll() { constexpr char value[] = "1"; - write(wake_epoll_fd, value, sizeof(value)); + TEMP_FAILURE_RETRY(write(wake_epoll_fd, value, sizeof(value))); } static class PropWaiterState {