Commit 6871a0d0 authored by Li Qiang's avatar Li Qiang Committed by Thomas Huth
Browse files

qdev: fix a typo in comment



Found by reading code.

Signed-off-by: default avatarLi Qiang <liq3ea@gmail.com>
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
parent 963e64a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,