diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-06-29 14:25:01 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-07-13 13:46:55 -0300 |
commit | 94c3db85b4cc1d4e078859834a761bcc9d988780 (patch) | |
tree | 153a7261f23edf89dd341f5edf7a878a0775e56e /COPYING.LIB | |
parent | f5b0d93bcba712e1864c71c2f298c59a94efaa79 (diff) |
qapi: input_type_enum(): fix error message
The enum string is pointed to by 'enum_str' not 'name'. This bug
causes the error message to be:
{ "error": { "class": "InvalidParameter",
"desc": "Invalid parameter 'null'",
"data": { "name": "null" } } }
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Diffstat (limited to 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions