Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf92365a authored by Henri Chataing's avatar Henri Chataing
Browse files

system/gd/reactor: Log error for epoll_ctl failure

Bug: 328846531
Test: m com.android.btservices
Flag: EXEMPT, log change
Change-Id: I0d647e7509056f35c41b43a7498ce63f3c0a000c
parent c36a6018
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ void Reactor::Unregister(Reactor::Reactable* reactable) {
    if (result == -1 && errno == ENOENT) {
      LOG_INFO("reactable is invalid or unregistered");
    } else {
      ASSERT(result != -1);
      ASSERT_LOG(result != -1, "could not unregister epoll fd: %s", strerror(errno));
    }

    // If we are unregistering during the callback event from this reactable, we delete it after the callback is