qom: Correct object_property_get_int() description
commitb29b47e9b35017428904e0e934700877dfaabe73
authorAlistair Francis <alistair.francis@xilinx.com>
Mon, 18 Jan 2016 18:42:01 +0000 (18 10:42 -0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 11 Feb 2016 12:15:46 +0000 (11 15:15 +0300)
treeba897a004bb55125546cc321718766b185febe16
parentb8d8e8fde3a442d4cf5c95cb4598b8dcb87b9b3d
qom: Correct object_property_get_int() description

The description of object_property_get_int() stated that on an error
it returns NULL. This is not the case and the function will return -1
if an error occurs. Update the commented documentation accordingly.

Reported-By: Christian Liebhardt <christian.liebhardt@keysight.com>
Signed-off-by: Christian Liebhardt <christian.liebhardt@keysight.com>
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
include/qom/object.h