aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
Diffstat (limited to 'block.c')
-rw-r--r--block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block.c b/block.c
index f293ccb5af..5ef5c7c174 100644
--- a/block.c
+++ b/block.c
@@ -1262,7 +1262,7 @@ static QDict *parse_json_filename(const char *filename, Error **errp)
ret = strstart(filename, "json:", &filename);
assert(ret);
- options_obj = qobject_from_json(filename);
+ options_obj = qobject_from_json(filename, NULL);
if (!options_obj) {
error_setg(errp, "Could not parse the JSON options");
return NULL;