fix lio_listio return value in LIO_WAIT mode
This commit is contained in:
parent
200f96c6a0
commit
a753f7fe7a
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue