summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smbtorture.c2
-rw-r--r--source4/torture/torture.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index 9620605174..8122c14964 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -602,7 +602,7 @@ int main(int argc,char *argv[])
}
if (extra_module != NULL) {
- samba_init_module_fn fn = load_module(poptGetOptArg(pc), false, NULL);
+ samba_module_init_fn fn = load_module(poptGetOptArg(pc), false, NULL);
if (fn == NULL)
d_printf("Unable to load module from %s\n", poptGetOptArg(pc));
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index e270818dce..fafc79a36f 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -48,8 +48,8 @@ _PUBLIC_ int torture_init(void)
{
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_smbtorture_MODULES_PROTO;
- samba_init_module_fn static_init[] = { STATIC_smbtorture_MODULES };
- samba_init_module_fn *shared_init = samba_modules_load(NULL, "smbtorture");
+ samba_module_init_fn static_init[] = { STATIC_smbtorture_MODULES };
+ samba_module_init_fn *shared_init = samba_modules_load(NULL, "smbtorture");
samba_init_module_fns_run(static_init);
samba_init_module_fns_run(shared_init);