OSDN Git Service

qom: Fix typo, 'my_class_init' -> 'derived_class_init'
authorZhoujian <jianjay.zhou@huawei.com>
Thu, 12 Feb 2015 07:43:02 +0000 (15:43 +0800)
committerAndreas Färber <afaerber@suse.de>
Mon, 16 Feb 2015 14:07:09 +0000 (15:07 +0100)
Signed-off-by: Zhoujian <jianjay.zhou@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/qom/object.h

index 89c3092..8757573 100644 (file)
@@ -273,7 +273,7 @@ typedef struct InterfaceInfo InterfaceInfo;
  *     .name = TYPE_DERIVED,
  *     .parent = TYPE_MY,
  *     .class_size = sizeof(DerivedClass),
- *     .class_init = my_class_init,
+ *     .class_init = derived_class_init,
  * };
  *   </programlisting>
  * </example>