summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/docbook/devdoc/modules.sgml6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/docbook/devdoc/modules.sgml b/docs/docbook/devdoc/modules.sgml
index 098044ddfe..de43813410 100644
--- a/docs/docbook/devdoc/modules.sgml
+++ b/docs/docbook/devdoc/modules.sgml
@@ -97,8 +97,8 @@ should check again if the module has been registered.
<para>
Each module has an initialisation function. For modules that are
-included with samba this name is '<replaceable>subsystem</replaceable>_<replaceable>backend</replaceable>_init'. For external modules (that will never be built-in, but only available as a module) this name is always 'module_init'.
-The prototype for this function is:
+included with samba this name is '<replaceable>subsystem</replaceable>_<replaceable>backend</replaceable>_init'. For external modules (that will never be built-in, but only available as a module) this name is always 'module_init'. (In the case of modules included with samba, the configure system will add a #define subsystem_backend_init() module_init()).
+The prototype for these functions is:
</para>
<para><programlisting>
@@ -106,7 +106,7 @@ int module_init(void);
</programlisting></para>
<para>This function should call one or more
-registration The function should return non-zero on success and zero on
+registration functions. The function should return non-zero on success and zero on
failure.</para>
<para>For example, pdb_ldap_init() contains: </para>