Patchwork [3/4] QError: Improve QERR_QMP_BAD_INPUT_OBJECT desc

login
register
mail settings
Submitter Luiz Capitulino
Date April 7, 2010, 6:25 p.m.
Message ID <1270664710-3948-4-git-send-email-lcapitulino@redhat.com>
Download mbox | patch
Permalink /patch/49639/
State New
Headers show

Comments

Luiz Capitulino - April 7, 2010, 6:25 p.m.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
 qerror.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/qerror.c b/qerror.c
index b6aaec7..034c7de 100644
--- a/qerror.c
+++ b/qerror.c
@@ -170,7 +170,7 @@  static const QErrorStringTable qerror_table[] = {
     },
     {
         .error_fmt = QERR_QMP_BAD_INPUT_OBJECT,
-        .desc      = "Bad QMP input object",
+        .desc      = "Expected '%(expected)' in QMP input",
     },
     {
         .error_fmt = QERR_QMP_BAD_INPUT_OBJECT_MEMBER,