summaryrefslogtreecommitdiff
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
parentUse proper format conversion specifier when printing size_t value (diff)
downloadqemu-kvm-47faadc676b9ade4259119e4e3f1b5ac3e28e090.tar.gz
qemu-kvm-47faadc676b9ade4259119e4e3f1b5ac3e28e090.tar.bz2
qemu-kvm-47faadc676b9ade4259119e4e3f1b5ac3e28e090.zip
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;