diff --git a/src/documentation/haiku_book/midi/midi2endpoint.xml b/src/documentation/haiku_book/midi/midi2endpoint.xml
index 95ef673262..656d7d45ac 100644
--- a/src/documentation/haiku_book/midi/midi2endpoint.xml
+++ b/src/documentation/haiku_book/midi/midi2endpoint.xml
@@ -329,7 +329,7 @@
- status_t BMidiEndpoint::SetProperties(const BMessage* props)
+ status_t BMidiEndpoint::SetProperties(const BMessage* properties)
Changes the properties of the endpoint
@@ -423,7 +423,7 @@
- status_t BMidiEndpoint::GetProperties(BMessage* props) const
+ status_t BMidiEndpoint::GetProperties(BMessage* properties) const
Reads the properties of the endpoint