Commit bbeea539aa7bb7c31c5dceccdfd0d6493134ae67

Authored by blueswir1
1 parent 9c39be47

Fix wrong return value

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6959 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
block-raw-posix.c
... ... @@ -1374,7 +1374,7 @@ static BlockDriverAIOCB *raw_aio_ioctl(BlockDriverState *bs,
1374 1374 unsigned long int req, void *buf,
1375 1375 BlockDriverCompletionFunc *cb, void *opaque)
1376 1376 {
1377   - return -ENOTSUP;
  1377 + return NULL;
1378 1378 }
1379 1379 #endif /* !linux && !FreeBSD */
1380 1380  
... ...