Skip to content

Commit

Permalink
qdev: fix a typo in comment
Browse files Browse the repository at this point in the history
Found by reading code.

Signed-off-by: Li Qiang <liq3ea@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
  • Loading branch information
Li Qiang authored and huth committed Sep 25, 2018
1 parent 963e64a commit 6871a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/core/qdev.c
Expand Up @@ -643,7 +643,7 @@ static void qdev_get_legacy_property(Object *obj, Visitor *v,
* the string depends on the property type. Legacy properties are only
* needed for "info qtree".
*
* Do not use this is new code! QOM Properties added through this interface
* Do not use this in new code! QOM Properties added through this interface
* will be given names in the "legacy" namespace.
*/
static void qdev_property_add_legacy(DeviceState *dev, Property *prop,
Expand Down

0 comments on commit 6871a0d

Please sign in to comment.