doc: the well-known name in kdbus_cmd_info is passed in the item list
authorDjalal Harouni <tixxdz@opendz.org>
Fri, 24 Oct 2014 23:40:39 +0000 (00:40 +0100)
committerDjalal Harouni <tixxdz@opendz.org>
Fri, 24 Oct 2014 23:40:39 +0000 (00:40 +0100)
Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
kdbus.h
kdbus.txt

diff --git a/kdbus.h b/kdbus.h
index f8d4b11651491845543f13cc4f60858c99000d38..4c5f341cf0fbadd17cfbd80e5c30a3fe9f488259 100644 (file)
--- 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
index 846d195561f7fc6ad35890698e53cb669af8183f..00ee9dd9fa7873b9837835a7afca4b94b0d012f2 100644 (file)
--- 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.
 };