提交 a753f7fe 编写于 作者: S Szabolcs Nagy

fix lio_listio return value in LIO_WAIT mode

上级 200f96c6
...@@ -109,7 +109,7 @@ int lio_listio(int mode, struct aiocb *restrict const *restrict cbs, int cnt, st ...@@ -109,7 +109,7 @@ int lio_listio(int mode, struct aiocb *restrict const *restrict cbs, int cnt, st
if (mode == LIO_WAIT) { if (mode == LIO_WAIT) {
ret = lio_wait(st); ret = lio_wait(st);
free(st); free(st);
return 0; return ret;
} }
if (st) { if (st) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册