提交 47faadc6 编写于 作者: B Blue Swirl

Unbreak BSD: use qemu_fdatasync instead of fdatasync

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 b2e3b6e9
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册