summary refs log tree commit diff
path: root/rt/aio_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/aio_write.c')
-rw-r--r--rt/aio_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/aio_write.c b/rt/aio_write.c
index 80b827c1aa..8801d89110 100644
--- a/rt/aio_write.c
+++ b/rt/aio_write.c
@@ -27,5 +27,5 @@ int
 aio_write (aiocbp)
      struct aiocb *aiocbp;
 {
-  return __aio_enqueue_request ((aiocb_union *) aiocbp, LIO_WRITE, 1);
+  return __aio_enqueue_request ((aiocb_union *) aiocbp, LIO_WRITE) != NULL;
 }