aboutsummaryrefslogtreecommitdiff
path: root/block/raw-win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/raw-win32.c')
-rw-r--r--block/raw-win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/raw-win32.c b/block/raw-win32.c
index d2d2d9f4d4..ff3c5ea0d7 100644
--- a/block/raw-win32.c
+++ b/block/raw-win32.c
@@ -85,6 +85,7 @@ static size_t handle_aiocb_rw(RawWin32AIOData *aiocb)
ret_count = 0;
}
if (ret_count != len) {
+ offset += ret_count;
break;
}
offset += len;