aboutsummaryrefslogtreecommitdiff
path: root/block-raw-posix.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-30 17:51:29 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-30 17:51:29 +0000
commitbbeea539aa7bb7c31c5dceccdfd0d6493134ae67 (patch)
tree6c52f36b526f42a8297e7a1d7062ae6cabf59673 /block-raw-posix.c
parent9c39be47db8c8c8eabc84caf1f0a4e6aa3f23e9a (diff)
Fix wrong return value
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6959 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-raw-posix.c')
-rw-r--r--block-raw-posix.c2
1 files changed, 1 insertions, 1 deletions
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 */