summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorLi Qiang <liq3ea@gmail.com>2018-09-04 23:49:01 -0700
committerThomas Huth <thuth@redhat.com>2018-09-25 17:26:18 +0200
commit6871a0d01f16871c67ea46d4264472cce345bb63 (patch)
tree5340578146124a27987f8c17e8fd035aa9117303
parent963e64a486512914231a99716c8775c71e438e0c (diff)
downloadfocaccia-qemu-6871a0d01f16871c67ea46d4264472cce345bb63.tar.gz
focaccia-qemu-6871a0d01f16871c67ea46d4264472cce345bb63.zip
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>
-rw-r--r--hw/core/qdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index 36b788a66b..046d8f1f76 100644
--- a/hw/core/qdev.c
+++ b/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
  * 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,