diff options
Diffstat (limited to 'block/curl.c')
-rw-r--r-- | block/curl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/curl.c b/block/curl.c index e83dcd8f50..34dbd335f4 100644 --- a/block/curl.c +++ b/block/curl.c @@ -377,7 +377,7 @@ static void curl_multi_check_completion(BDRVCURLState *s) } qemu_mutex_unlock(&s->mutex); - acb->common.cb(acb->common.opaque, -EPROTO); + acb->common.cb(acb->common.opaque, -EIO); qemu_mutex_lock(&s->mutex); qemu_aio_unref(acb); state->acb[i] = NULL; |