summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Wood <carlo@alinoe.com>2021-03-06 18:54:33 +0100
committerGitHub <noreply@github.com>2021-03-06 18:54:33 +0100
commit57f69536a84271c005fe8070bae64452b7a08523 (patch)
tree3c21a63cd1e043dcb2dbead4e550a3be8a9238d6
parentMerge pull request #18891 from keszybz/size_t-cast-removal (diff)
downloadsystemd-57f69536a84271c005fe8070bae64452b7a08523.tar.xz
systemd-57f69536a84271c005fe8070bae64452b7a08523.zip
Manual page fixes (#18906)
-rw-r--r--man/sd_bus_add_match.xml4
-rw-r--r--man/sd_bus_request_name.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/man/sd_bus_add_match.xml b/man/sd_bus_add_match.xml
index 1ce1c13674..3de7a6a53e 100644
--- a/man/sd_bus_add_match.xml
+++ b/man/sd_bus_add_match.xml
@@ -94,13 +94,13 @@
connection object <parameter>bus</parameter>. The syntax of the match rule expression passed in
<parameter>match</parameter> is described in the <ulink
url="https://dbus.freedesktop.org/doc/dbus-specification.html">D-Bus Specification</ulink>. The specified handler
- function <parameter>callback</parameter> is called for eaching incoming message matching the specified expression,
+ function <parameter>callback</parameter> is called for each incoming message matching the specified expression,
the <parameter>userdata</parameter> parameter is passed as-is to the callback function. The match is installed
synchronously when connected to a bus broker, i.e. the call sends a control message requested the match to be added
to the broker and waits until the broker confirms the match has been installed successfully.</para>
<para><function>sd_bus_add_match_async()</function> operates very similar to
- <function>sd_bus_match_signal()</function>, however it installs the match asynchronously, in a non-blocking
+ <function>sd_bus_add_match()</function>, however it installs the match asynchronously, in a non-blocking
fashion: a request is sent to the broker, but the call does not wait for a response. The
<parameter>install_callback</parameter> function is called when the response is later received, with the response
message from the broker as parameter. If this function is specified as <constant>NULL</constant> a default
diff --git a/man/sd_bus_request_name.xml b/man/sd_bus_request_name.xml
index ea4ea2279d..28fda406a5 100644
--- a/man/sd_bus_request_name.xml
+++ b/man/sd_bus_request_name.xml
@@ -100,7 +100,7 @@
is sent to the bus broker, and the call waits until the broker responds.</para>
<para><function>sd_bus_request_name_async()</function> is an asynchronous version of
- <function>sd_bus_release_name()</function>. Instead of waiting for the request to complete, the request message is
+ <function>sd_bus_request_name()</function>. Instead of waiting for the request to complete, the request message is
enqueued. The specified <parameter>callback</parameter> will be called when the broker's response is received. If
the parameter is specified as <constant>NULL</constant> a default implementation is used instead which will
terminate the connection when the name cannot be acquired. The function returns a slot object in its