mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
09d5601771
commit
f824e8ed03
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ typedef struct InterfaceInfo InterfaceInfo;
|
||||||
* .name = TYPE_DERIVED,
|
* .name = TYPE_DERIVED,
|
||||||
* .parent = TYPE_MY,
|
* .parent = TYPE_MY,
|
||||||
* .class_size = sizeof(DerivedClass),
|
* .class_size = sizeof(DerivedClass),
|
||||||
* .class_init = my_class_init,
|
* .class_init = derived_class_init,
|
||||||
* };
|
* };
|
||||||
* </programlisting>
|
* </programlisting>
|
||||||
* </example>
|
* </example>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue