diff --git a/man/rules/meson.build b/man/rules/meson.build
index acd8710ff07..b249adc48f5 100644
--- a/man/rules/meson.build
+++ b/man/rules/meson.build
@@ -225,6 +225,7 @@ manpages = [
'SD_BUS_MESSAGE_METHOD_ERROR',
'SD_BUS_MESSAGE_METHOD_RETURN',
'SD_BUS_MESSAGE_SIGNAL',
+ 'sd_bus_message_get_bus',
'sd_bus_message_ref',
'sd_bus_message_unref',
'sd_bus_message_unrefp'],
diff --git a/man/sd_bus_message_new.xml b/man/sd_bus_message_new.xml
index e7cb0c57913..78bca8a89cd 100644
--- a/man/sd_bus_message_new.xml
+++ b/man/sd_bus_message_new.xml
@@ -23,6 +23,7 @@
SD_BUS_MESSAGE_METHOD_RETURN
SD_BUS_MESSAGE_METHOD_ERROR
SD_BUS_MESSAGE_SIGNAL
+ sd_bus_message_get_bus
Create a new bus message object and create or destroy references to it
@@ -59,6 +60,11 @@
void sd_bus_message_unrefp
sd_bus_message **mp
+
+
+ sd_bus *sd_bus_message_get_bus
+ sd_bus_message *m
+
@@ -117,6 +123,9 @@
its argument, which must not be NULL, and will execute no operation if
that is NULL.
+
+ sd_bus_message_get_bus() returns the bus object that message
+ m is attached to.
@@ -130,6 +139,8 @@
sd_bus_message_unref() always returns
NULL.
+
+ sd_bus_message_get_bus() always returns the bus object.