Commit f1869904 authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

corrected error code in mona_test

parent 55f4b58b
...@@ -401,7 +401,7 @@ na_return_t mona_wait(mona_request_t req) ...@@ -401,7 +401,7 @@ na_return_t mona_wait(mona_request_t req)
int mona_test(mona_request_t req, int* flag) int mona_test(mona_request_t req, int* flag)
{ {
if(req == MONA_REQUEST_NULL) return ABT_ERR_INV_ARG; if(req == MONA_REQUEST_NULL) return ABT_ERR_OTHER;
return ABT_eventual_test(req->eventual, NULL, flag); return ABT_eventual_test(req->eventual, NULL, flag);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment