« Previous | Next » 

Revision 22f2e344

ID22f2e344748370b2e13888ba1057ebea2579970c

Added by Gerd Hoffmann over 14 years ago

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 <>
Signed-off-by: Anthony Liguori <>
Message-Id:

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences