]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
qdev: fix a typo in comment
authorLi Qiang <liq3ea@gmail.com>
Wed, 5 Sep 2018 06:49:01 +0000 (23:49 -0700)
committerThomas Huth <thuth@redhat.com>
Tue, 25 Sep 2018 15:26:18 +0000 (17:26 +0200)
Found by reading code.

Signed-off-by: Li Qiang <liq3ea@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/core/qdev.c

index 36b788a66bcb6f4c4e7aaac3f2d39e105babd0e0..046d8f1f7678312ad853c6222657f4c0f8b2e0ca 100644 (file)
@@ -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,