aboutsummaryrefslogtreecommitdiff
path: root/rt/aio_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/aio_read.c')
-rw-r--r--rt/aio_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/aio_read.c b/rt/aio_read.c
index 8286ba9..871ce99 100644
--- a/rt/aio_read.c
+++ b/rt/aio_read.c
@@ -27,5 +27,5 @@ int
aio_read (aiocbp)
struct aiocb *aiocbp;
{
- return __aio_enqueue_request ((aiocb_union *) aiocbp, LIO_READ, 1);
+ return __aio_enqueue_request ((aiocb_union *) aiocbp, LIO_READ) != NULL;
}