| commit | 494cffb26c6bb75e6291cf416521f36d51739905 | [log] [tgz] |
|---|---|---|
| author | Tom Cherry <tomcherry@google.com> | Tue Mar 24 18:17:53 2020 -0700 |
| committer | Tom Cherry <tomcherry@google.com> | Tue Mar 24 18:17:53 2020 -0700 |
| tree | 5f12f8f569218d961fe034c278ed83eb70cfb2be | |
| parent | e6ecb06dc71cb4d9dbd0f4632413a59699ef240c [diff] [blame] |
init: add missing TEMP_FAILURE_RETRY Bug: 150863651 Test: boot Change-Id: I09e86e08a716c2c2933e090d57818a9aad6486f8
diff --git a/init/init.cpp b/init/init.cpp index 4289dcf..ed5f799 100644 --- a/init/init.cpp +++ b/init/init.cpp
@@ -136,7 +136,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 {