| Index: mojo/public/cpp/system/handle.h
|
| diff --git a/mojo/public/cpp/system/handle.h b/mojo/public/cpp/system/handle.h
|
| index 3549854562ad072239c7213bc3a41b764ac3b23a..021fa875ed937c34b9f562bae32b5a9407c30132 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(
|
|
|