diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-12 06:19:14 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-12 06:19:14 +0000 |
commit | 47faadc676b9ade4259119e4e3f1b5ac3e28e090 (patch) | |
tree | fe7424c3fc4be0085de03b1f98e635ce2966f499 | |
parent | b2e3b6e914b45b8ea4dd5c4368a28c3b6d412c89 (diff) |
Unbreak BSD: use qemu_fdatasync instead of fdatasync
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-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; |