qom: Fix error message in object_class_property_add()
commitd55e937d3eb07ed98a0554517e5098b51e37a62f
authorGreg Kurz <groug@kaod.org>
Mon, 4 Nov 2019 13:23:55 +0000 (4 14:23 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 12 Nov 2019 09:33:02 +0000 (12 10:33 +0100)
tree7b7548951db676f611be247611bc77c190df6e67
parent32eb2da326b3ef5573834304934d2b13fee82639
qom: Fix error message in object_class_property_add()

The error message in object_class_property_add() was copied from
object_property_add() in commit 16bf7f522a2ff. Clarify that it is
about a class, not an object.

While here, have the format string in both functions to fit in a
single line for better grep-ability, despite the checkpatch warning.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <157287383591.234942.311840593519058490.stgit@bahia.tlslab.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
qom/object.c