Skip to content

Commit 357c2ed

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Make invalid FD a fatal error in FdTrigger" into main
2 parents 5dd9afa + ddaccb7 commit 357c2ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/binder/FdTrigger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ status_t FdTrigger::triggerablePoll(const android::RpcTransportFd& transportFd,
108108

109109
// POLLNVAL: invalid FD number, e.g. not opened.
110110
if (pfd[0].revents & POLLNVAL) {
111-
ALOGE("Invalid FD number (%d) in FdTrigger (POLLNVAL)", pfd[0].fd);
111+
LOG_ALWAYS_FATAL("Invalid FD number (%d) in FdTrigger (POLLNVAL)", pfd[0].fd);
112112
return BAD_VALUE;
113113
}
114114

0 commit comments

Comments
 (0)