mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
Unbreak BSD: use qemu_fdatasync instead of fdatasync
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
b2e3b6e914
commit
47faadc676
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue