提交 0a4283cb 编写于 作者: D Daniel P. Berrange

Fix ReprotError vs ReportError typo in JSON code

* src/util/json.c: Fix ReprotError typo when YAJL is not available
上级 6e547d54
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册