diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vmspawn/vmspawn-util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vmspawn/vmspawn-util.c b/src/vmspawn/vmspawn-util.c index b5b5eafae6..6270b7ffae 100644 --- a/src/vmspawn/vmspawn-util.c +++ b/src/vmspawn/vmspawn-util.c @@ -100,7 +100,7 @@ static int firmware_executable(const char *name, JsonVariant *v, JsonDispatchFla {} }; - return json_dispatch(v, table, 0, userdata); + return json_dispatch(v, table, flags, userdata); } static int firmware_nvram_template(const char *name, JsonVariant *v, JsonDispatchFlags flags, void *userdata) { @@ -110,7 +110,7 @@ static int firmware_nvram_template(const char *name, JsonVariant *v, JsonDispatc {} }; - return json_dispatch(v, table, 0, userdata); + return json_dispatch(v, table, flags, userdata); } static int firmware_mapping(const char *name, JsonVariant *v, JsonDispatchFlags flags, void *userdata) { @@ -121,7 +121,7 @@ static int firmware_mapping(const char *name, JsonVariant *v, JsonDispatchFlags {} }; - return json_dispatch(v, table, 0, userdata); + return json_dispatch(v, table, flags, userdata); } int find_ovmf_config(int search_sb, OvmfConfig **ret) { @@ -183,7 +183,7 @@ int find_ovmf_config(int search_sb, OvmfConfig **ret) { if (!fwd) return -ENOMEM; - r = json_dispatch(config_json, table, 0, fwd); + r = json_dispatch(config_json, table, JSON_ALLOW_EXTENSIONS, fwd); if (r == -ENOMEM) return r; if (r < 0) { |