summaryrefslogtreecommitdiffstats
path: root/util/oslib-win32.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2014-06-18 16:59:51 +0200
committerMichael S. Tsirkin2014-06-19 17:44:22 +0200
commit56fdfb6106276b761e360a84321bab0765bfa15d (patch)
tree6647cee68f66de412f402a01ef86dc2bdc5cead4 /util/oslib-win32.c
parenttests: simplify code (diff)
downloadqemu-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/oslib-win32.c')
0 files changed, 0 insertions, 0 deletions