aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhoujian <jianjay.zhou@huawei.com>2015-02-12 15:43:02 +0800
committerAndreas Färber <afaerber@suse.de>2015-02-16 15:07:09 +0100
commitf824e8ed03cfcda55531206b2ee6fce62a7206f3 (patch)
treeae3272cd3ea4fbe8ba7d275f8f7f2520df321e52
parent09d560177101d2ef1e333754a25cfa49b70583b3 (diff)
qom: Fix typo, 'my_class_init' -> 'derived_class_init'
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>
-rw-r--r--include/qom/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qom/object.h b/include/qom/object.h
index 89c3092967..87575735fe 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -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>