diff options
| author | Michael S. Tsirkin | 2014-06-18 16:59:51 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2014-06-19 17:44:22 +0200 |
| commit | 56fdfb6106276b761e360a84321bab0765bfa15d (patch) | |
| tree | 6647cee68f66de412f402a01ef86dc2bdc5cead4 /util | |
| parent | tests: simplify code (diff) | |
| download | qemu-56fdfb6106276b761e360a84321bab0765bfa15d.tar.gz qemu-56fdfb6106276b761e360a84321bab0765bfa15d.tar.xz qemu-56fdfb6106276b761e360a84321bab0765bfa15d.zip | |
qapi/string-output-visitor: fix bugs
in human mode, we are creating the string:
16-31 (16-31)
instead of
16-17 (10-1f)
because we forgot to pass 'true' as the human parameter on one of the
two calls to format_string.
Also, this is a worsening of quality; previously we would produce
16 (0x10)
to make it obvious which number was hex.
Fix these issues.
Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions
