[PULL 4/6] qom/object.h: rename @child to @targetp in object_property_add_link() documentation
Mark Cave-Ayland <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
This was missed when updating the parameter name in commit 36854207f0 ("object:
rename link "child" to "target"").
Signed-off-by: Mark Cave-Ayland <[email protected]>
Fixes: 36854207f0 ("object: rename link "child" to "target"")
Reviewed-by: Daniel P. Berrangé <[email protected]>
Message-Id: <[email protected]>
---
include/qom/object.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/qom/object.h b/include/qom/object.h
index 11f55613fc..4e7fe2af7c 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -1802,8 +1802,8 @@ void object_property_allow_set_link(const Object *obj, const char *name,
* property is read-only and cannot be set. Care must be taken to handle NULL
* values for @val.
*
- * Ownership of the pointer that @child points to is transferred to the
- * link property. The reference count for *@child is
+ * Ownership of the pointer that @targetp points to is transferred to the
+ * link property. The reference count for *@targetp is
* managed by the property from after the function returns till the
* property is deleted with object_property_del(). If the
* @flags %OBJ_PROP_LINK_STRONG bit is set,
--
2.43.0