summaryrefslogtreecommitdiff
path: root/posix-aio-compat.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-12 06:19:14 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-12 06:19:14 +0000
commit47faadc676b9ade4259119e4e3f1b5ac3e28e090 (patch)
treefe7424c3fc4be0085de03b1f98e635ce2966f499 /posix-aio-compat.c
parentb2e3b6e914b45b8ea4dd5c4368a28c3b6d412c89 (diff)
Unbreak BSD: use qemu_fdatasync instead of fdatasync
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'posix-aio-compat.c')
-rw-r--r--posix-aio-compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index 498cc1f4c..8bb3d10ee 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;