man: fix parameter controlling activatable names query for sd_bus_list_names()

The second conditional checked "acquired", but the ListActivatableNames
call is governed by the "activatable" argument.
This commit is contained in:
Yu Watanabe
2026-09-17 11:49:45 +09:00
parent 83c4191e25
commit 194c72b37f
+1 -1
View File
@@ -42,7 +42,7 @@
If <parameter>acquired</parameter> is not <constant>NULL</constant>, this function calls
<ulink url="https://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-list-names">
org.freedesktop.DBus.ListNames</ulink> to retrieve the list of currently-owned names on the bus. If
<parameter>acquired</parameter> is not <constant>NULL</constant>, the function calls
<parameter>activatable</parameter> is not <constant>NULL</constant>, the function calls
<ulink url="https://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-list-activatable-names">
org.freedesktop.DBus.ListActivatableNames</ulink> to retrieve the list of all names on the bus that can
be activated. Note that ownership of the arrays returned by <function>sd_bus_list_names()</function> in