Snap for 9489393 from 6ffe1e16e7 to udc-release

Change-Id: I60035fe72316910dae33fdbaecb1b0b1d32a5821
This commit is contained in:
Android Build Coastguard Worker 2023-01-14 04:03:10 +00:00
commit 02cf01da44

View file

@ -804,7 +804,7 @@ ndk::ScopedAStatus Dumpstate::dumpstateBoard(const std::vector<::ndk::ScopedFile
"Invalid mode");
}
if (in_fds.size() < 1) {
if (in_fds.size() < 2) {
ALOGE("no FD for dumpstate_board binary\n");
} else {
int fd_bin = in_fds[1].get();