diff options
Diffstat (limited to 'dumpstate/Dumpstate.cpp')
-rw-r--r-- | dumpstate/Dumpstate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpstate/Dumpstate.cpp b/dumpstate/Dumpstate.cpp index 59fc01b..4921ca4 100644 --- a/dumpstate/Dumpstate.cpp +++ b/dumpstate/Dumpstate.cpp @@ -1400,7 +1400,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(); |