mirror of
https://github.com/fluencelabs/musl
synced 2025-06-27 21:52:02 +00:00
fix lio_listio return value in LIO_WAIT mode
This commit is contained in:
@ -109,7 +109,7 @@ int lio_listio(int mode, struct aiocb *restrict const *restrict cbs, int cnt, st
|
||||
if (mode == LIO_WAIT) {
|
||||
ret = lio_wait(st);
|
||||
free(st);
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (st) {
|
||||
|
Reference in New Issue
Block a user