mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06: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…
Add table
Add a link
Reference in a new issue