summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 */