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 42bdb2e..1f9e61e 100644 --- a/dumpstate/Dumpstate.cpp +++ b/dumpstate/Dumpstate.cpp @@ -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(); |