projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
200f96c
)
fix lio_listio return value in LIO_WAIT mode
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 13 Jan 2013 22:15:39 +0000
(23:15 +0100)
committer
Szabolcs Nagy
<nsz@port70.net>
Sun, 13 Jan 2013 22:15:39 +0000
(23:15 +0100)
src/aio/lio_listio.c
patch
|
blob
|
history
diff --git
a/src/aio/lio_listio.c
b/src/aio/lio_listio.c
index 532b17cebeddc233cba138e653839522a32e043f..64a6ebc18c486c50e32a10ccaefcd93e2d1eba83 100644
(file)
--- a/
src/aio/lio_listio.c
+++ b/
src/aio/lio_listio.c
@@
-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) {