From 0a4283cb9439eaac6a5f7e2706a839b5416d9818 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Mon, 7 Dec 2009 17:01:33 +0000 Subject: [PATCH] Fix ReprotError vs ReportError typo in JSON code * src/util/json.c: Fix ReprotError typo when YAJL is not available --- src/util/json.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/json.c b/src/util/json.c index cbd0286733..93b81869ec 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; } -- GitLab