diff options
author | Cao jin <caoj.fnst@cn.fujitsu.com> | 2015-11-03 10:36:42 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-11-06 15:42:38 +0300 |
commit | b30d80546421c6ea919096b596887f496c80af0a (patch) | |
tree | ae093fa41904c7731b7ad7cf7ca2d2c514c2a0ee /qom | |
parent | 9f503153c78a23bcd44409cea64442c4ecd82ea5 (diff) | |
download | qemu-b30d80546421c6ea919096b596887f496c80af0a.tar.gz qemu-b30d80546421c6ea919096b596887f496c80af0a.tar.bz2 qemu-b30d80546421c6ea919096b596887f496c80af0a.zip |
qom/object: fix 2 comment typos
Also change the misleading definition of macro OBJECT_CLASS_CHECK
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qom')
-rw-r--r-- | qom/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qom/object.c b/qom/object.c index 11cd86b931..fc6e161088 100644 --- a/qom/object.c +++ b/qom/object.c @@ -204,7 +204,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; |