mirror of https://gitee.com/openkylin/qemu.git
Fix wrong return value
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6959 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9c39be47db
commit
bbeea539aa
|
@ -1374,7 +1374,7 @@ static BlockDriverAIOCB *raw_aio_ioctl(BlockDriverState *bs,
|
||||||
unsigned long int req, void *buf,
|
unsigned long int req, void *buf,
|
||||||
BlockDriverCompletionFunc *cb, void *opaque)
|
BlockDriverCompletionFunc *cb, void *opaque)
|
||||||
{
|
{
|
||||||
return -ENOTSUP;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif /* !linux && !FreeBSD */
|
#endif /* !linux && !FreeBSD */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue