From ac32c7807640f04682ea17bca17c22f8b9264d62 Mon Sep 17 00:00:00 2001 From: Michael Roth Date: Tue, 19 Jul 2011 15:41:52 -0500 Subject: qerror: add QERR_JSON_PARSE_ERROR to qerror.c Missing from previous addition of error to qerror.h. Needed for qerror_format() and friends. Signed-off-by: Michael Roth Signed-off-by: Luiz Capitulino --- qerror.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qerror.c') diff --git a/qerror.c b/qerror.c index d7fcd93cad..c92adfcb13 100644 --- a/qerror.c +++ b/qerror.c @@ -140,6 +140,11 @@ static const QErrorStringTable qerror_table[] = { .error_fmt = QERR_JSON_PARSING, .desc = "Invalid JSON syntax", }, + { + .error_fmt = QERR_JSON_PARSE_ERROR, + .desc = "JSON parse error, %(message)", + + }, { .error_fmt = QERR_KVM_MISSING_CAP, .desc = "Using KVM without %(capability), %(feature) unavailable", -- cgit v1.2.1