about summary refs log tree commit diff
path: root/rt/aio_fsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/aio_fsync.c')
-rw-r--r--rt/aio_fsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/aio_fsync.c b/rt/aio_fsync.c
index 6daaca1e97..c813654b61 100644
--- a/rt/aio_fsync.c
+++ b/rt/aio_fsync.c
@@ -36,7 +36,7 @@ int
 aio_fsync (int op, struct aiocb *aiocbp)
 {
   return __aio_enqueue_request ((aiocb_union *) aiocbp,
-				op == O_SYNC ? __LIO_SYNC : __LIO_DSYNC, 1);
+				op == O_SYNC ? LIO_SYNC : LIO_DSYNC) != NULL;
 }
 
 weak_alias (aio_fsync, aio_fsync64)