From b30d80546421c6ea919096b596887f496c80af0a Mon Sep 17 00:00:00 2001 From: Cao jin Date: Tue, 3 Nov 2015 10:36:42 +0800 Subject: qom/object: fix 2 comment typos Also change the misleading definition of macro OBJECT_CLASS_CHECK Signed-off-by: Cao jin Signed-off-by: Michael Tokarev --- qom/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qom') 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; -- cgit v1.2.3