From: Michael Roth Date: Tue, 19 Jul 2011 20:41:52 +0000 (-0500) Subject: qerror: add QERR_JSON_PARSE_ERROR to qerror.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ac32c7807640f04682ea17bca17c22f8b9264d62;p=qemu.git 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 --- 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",