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
@ -138,7 +138,7 @@ static size_t handle_aiocb_flush(struct qemu_paiocb *aiocb)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = fdatasync(aiocb->aio_fildes);
|
ret = qemu_fdatasync(aiocb->aio_fildes);
|
||||||
if (ret == -1)
|
if (ret == -1)
|
||||||
return -errno;
|
return -errno;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user