diff options
-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 1a35dba..8f14f0b 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; } |