2
0
Эх сурвалжийг харах

qdev: fix a typo in comment

Found by reading code.

Signed-off-by: Li Qiang <liq3ea@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Li Qiang 7 жил өмнө
parent
commit
6871a0d01f
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      hw/core/qdev.c

+ 1 - 1
hw/core/qdev.c

@@ -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
  * the string depends on the property type.  Legacy properties are only
  * needed for "info qtree".
  * 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.
  * will be given names in the "legacy" namespace.
  */
  */
 static void qdev_property_add_legacy(DeviceState *dev, Property *prop,
 static void qdev_property_add_legacy(DeviceState *dev, Property *prop,