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 /linux-user/errno_defs.h | |
parent | f5b0d93bcba712e1864c71c2f298c59a94efaa79 (diff) | |
download | hqemu-94c3db85b4cc1d4e078859834a761bcc9d988780.zip hqemu-94c3db85b4cc1d4e078859834a761bcc9d988780.tar.gz |
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 'linux-user/errno_defs.h')
0 files changed, 0 insertions, 0 deletions