diff --git a/src/util/json.c b/src/util/json.c index cbd02867332caa67eb528eb01e11843acfcac065..93b81869ecaf7ab92ed5e10644ea41ce4b20eca4 100644 --- a/src/util/json.c +++ b/src/util/json.c @@ -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; }