diff options
Diffstat (limited to 'block/file-win32.c')
-rw-r--r-- | block/file-win32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/file-win32.c b/block/file-win32.c index 1a35dbabf2..8f14f0bdcd 100644 --- a/block/file-win32.c +++ b/block/file-win32.c @@ -346,6 +346,7 @@ static int raw_open(BlockDriverState *bs, QDict *options, int flags, if (qdict_get_try_bool(options, "locking", false)) { error_setg(errp, "locking=on is not supported on Windows"); + ret = -EINVAL; goto fail; } |