From: blueswir1 Date: Mon, 30 Mar 2009 17:51:29 +0000 (+0000) Subject: Fix wrong return value X-Git-Tag: qemu-xen-4.2.0~7485 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bbeea539aa7bb7c31c5dceccdfd0d6493134ae67;p=qemu-xen.git Fix wrong return value git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6959 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/block-raw-posix.c b/block-raw-posix.c index b35c9d09b2..4874b8e4a4 100644 --- a/block-raw-posix.c +++ b/block-raw-posix.c @@ -1374,7 +1374,7 @@ static BlockDriverAIOCB *raw_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockDriverCompletionFunc *cb, void *opaque) { - return -ENOTSUP; + return NULL; } #endif /* !linux && !FreeBSD */