commit | 50dfcb02c8afe8b71963ed1103abb115517dcb1f | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Fri Feb 28 20:39:40 2020 +0900 |
committer | Bernie Innocenti <codewiz@google.com> | Sat Feb 29 05:57:04 2020 +0000 |
tree | 18faf354aa08e8ef22e583b04ade645babef06c9 | |
parent | ad9d034e7d7c6b2be93cf5fe5e64556b685de6d2 [diff] [blame] |
Fix missing Result::ok() call in init Test: m init Change-Id: Ifc11f856704e6f8d08764b6ba2876423992fb8c2
diff --git a/init/init.cpp b/init/init.cpp index bfef9e5..a530d18 100644 --- a/init/init.cpp +++ b/init/init.cpp
@@ -120,7 +120,7 @@ } }; - if (auto result = epoll->RegisterHandler(epoll_fd, drain_socket); !result) { + if (auto result = epoll->RegisterHandler(epoll_fd, drain_socket); !result.ok()) { LOG(FATAL) << result.error(); } }