From ce9aade0f8e5ec19c2512ca1f67a27642a4995d8 Mon Sep 17 00:00:00 2001 From: Djalal Harouni Date: Sat, 25 Oct 2014 00:40:39 +0100 Subject: [PATCH] doc: the well-known name in kdbus_cmd_info is passed in the item list Signed-off-by: Djalal Harouni --- kdbus.h | 5 +++-- kdbus.txt | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/kdbus.h b/kdbus.h index f8d4b11..4c5f341 100644 --- a/kdbus.h +++ b/kdbus.h @@ -731,8 +731,9 @@ struct kdbus_name_list { * @offset: Returned offset in the caller's pool buffer where the * kdbus_info struct result is stored. The user must * use KDBUS_CMD_FREE to free the allocated memory. - * @name: The optional well-known name to look up. Only needed in - * case @id is zero. + * @items: The optional item list, containing the + * well-known name to look up as a KDBUS_ITEM_NAME. + * Only needed in case @id is zero. * * On success, the KDBUS_CMD_CONN_INFO ioctl will return 0 and @offset will * tell the user the offset in the connection pool buffer at which to find the diff --git a/kdbus.txt b/kdbus.txt index 846d195..00ee9dd 100644 --- a/kdbus.txt +++ b/kdbus.txt @@ -568,8 +568,8 @@ struct kdbus_cmd_info { information inside the caller's pool. struct kdbus_item items[0]; - The name of the connection to retrieve information for, stored in an item - of type KDBUS_ITEM_NAME. Only required at if the 'id' field is set to 0. + The optional item list, containing the well-known name to look up as + a KDBUS_ITEM_NAME. Only required if the 'id' field is set to 0. All other items are currently ignored. }; -- 2.34.1