diff options
Diffstat (limited to 'mojo/public/cpp/system/handle.h')
-rw-r--r-- | mojo/public/cpp/system/handle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mojo/public/cpp/system/handle.h b/mojo/public/cpp/system/handle.h index 3549854..021fa87 100644 --- a/mojo/public/cpp/system/handle.h +++ b/mojo/public/cpp/system/handle.h @@ -301,7 +301,7 @@ inline WaitManyResult WaitMany(const HandleVectorType& handles, if (signals.size() != handles.size()) return WaitManyResult(MOJO_RESULT_INVALID_ARGUMENT); if (handles.size() >= kInvalidWaitManyIndexValue) - return WaitManyResult(MOJO_RESULT_OUT_OF_RANGE); + return WaitManyResult(MOJO_RESULT_RESOURCE_EXHAUSTED); if (handles.size() == 0) { return WaitManyResult( |