diff options
Diffstat (limited to 'src/aio')
-rw-r--r-- | src/aio/aio_readwrite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aio/aio_readwrite.c b/src/aio/aio_readwrite.c index 27168f25..adb5688a 100644 --- a/src/aio/aio_readwrite.c +++ b/src/aio/aio_readwrite.c @@ -91,13 +91,13 @@ static int new_req(struct aiocb *cb) return ret; } -ssize_t aio_read(struct aiocb *cb) +int aio_read(struct aiocb *cb) { cb->aio_lio_opcode = LIO_READ; return new_req(cb); } -ssize_t aio_write(struct aiocb *cb) +int aio_write(struct aiocb *cb) { cb->aio_lio_opcode = LIO_WRITE; return new_req(cb); |