aboutsummaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-08-03 11:26:48 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:11:27 -0500
commit22f2e344748370b2e13888ba1057ebea2579970c (patch)
tree0350148ddbd962a9eeb68097dae6de0da262a9e8 /kvm.h
parentea2b7271bfb601bf5b57c03a7bc46482e6342b95 (diff)
downloadqemu-22f2e344748370b2e13888ba1057ebea2579970c.zip
qemu-22f2e344748370b2e13888ba1057ebea2579970c.tar.gz
qemu-22f2e344748370b2e13888ba1057ebea2579970c.tar.bz2
fix qdev_print_devinfo()
snprintf returns number of bytes needed for the output, not the number of bytes actually written. Thus the math is wrong ... Spotted by Markus Armbruster. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'kvm.h')
0 files changed, 0 insertions, 0 deletions