summaryrefslogtreecommitdiff
path: root/libudev
diff options
context:
space:
mode:
Diffstat (limited to 'libudev')
-rw-r--r--libudev/libudev-enumerate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libudev/libudev-enumerate.c b/libudev/libudev-enumerate.c
index 399bbdaf46..b332ecdae1 100644
--- a/libudev/libudev-enumerate.c
+++ b/libudev/libudev-enumerate.c
@@ -464,9 +464,10 @@ UDEV_EXPORT int udev_enumerate_add_match_tag(struct udev_enumerate *udev_enumera
/**
* udev_enumerate_add_match_parent:
* @udev_enumerate: context
- * @parent: filter for the parent device
+ * @parent: parent device where to start searching
*
- * Return only the children of a given device.
+ * Return the devices on the subtree of one given device. The parent
+ * itself is included in the list.
*
* A reference for the device is held until the udev_enumerate context
* is cleaned up.