mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
Fix ReprotError vs ReportError typo in JSON code
* src/util/json.c: Fix ReprotError typo when YAJL is not available
This commit is contained in:
parent
6e547d54e5
commit
0a4283cb94
@ -1031,13 +1031,13 @@ cleanup:
|
||||
#else
|
||||
virJSONValuePtr virJSONValueFromString(const char *jsonstring ATTRIBUTE_UNUSED)
|
||||
{
|
||||
ReprotError(NULL, VIR_ERR_INTERNAL_ERROR, "%s",
|
||||
ReportError(NULL, VIR_ERR_INTERNAL_ERROR, "%s",
|
||||
_("No JSON parser implementation is available"));
|
||||
return NULL;
|
||||
}
|
||||
char *virJSONValueToString(virJSONValuePtr object)
|
||||
char *virJSONValueToString(virJSONValuePtr object ATTRIBUTE_UNUSED)
|
||||
{
|
||||
ReprotError(NULL, VIR_ERR_INTERNAL_ERROR, "%s",
|
||||
ReportError(NULL, VIR_ERR_INTERNAL_ERROR, "%s",
|
||||
_("No JSON parser implementation is available"));
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user