Patchwork qom/object.c: fix a typo in comment

login
register
mail settings
Submitter Hu Tao
Date Feb. 25, 2013, 9:20 a.m.
Message ID <1361784003-9698-1-git-send-email-hutao@cn.fujitsu.com>
Download mbox | patch
Permalink /patch/222873/
State New
Headers show

Comments

Hu Tao - Feb. 25, 2013, 9:20 a.m.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
 qom/object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/qom/object.c b/qom/object.c
index 3d638ff..a90b131 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -189,7 +189,7 @@  static bool type_is_ancestor(TypeImpl *type, TypeImpl *target_type)
 {
     assert(target_type);
 
-    /* Check if typename is a direct ancestor of type */
+    /* Check if target_type is a direct ancestor of type */
     while (type) {
         if (type == target_type) {
             return true;