diff options
-rw-r--r-- | posix-aio-compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix-aio-compat.c b/posix-aio-compat.c index 498cc1f4cb..8bb3d10ee8 100644 --- a/posix-aio-compat.c +++ b/posix-aio-compat.c @@ -138,7 +138,7 @@ static size_t handle_aiocb_flush(struct qemu_paiocb *aiocb) { int ret; - ret = fdatasync(aiocb->aio_fildes); + ret = qemu_fdatasync(aiocb->aio_fildes); if (ret == -1) return -errno; return 0; |