aboutsummaryrefslogtreecommitdiff
path: root/qerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'qerror.c')
-rw-r--r--qerror.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/qerror.c b/qerror.c
index 8d885cdce4..034c7deaad 100644
--- a/qerror.c
+++ b/qerror.c
@@ -170,7 +170,11 @@ 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,
+ .desc = "QMP input object member '%(member)' expects '%(expected)'",
},
{
.error_fmt = QERR_SET_PASSWD_FAILED,