lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *)
[vlendec/samba-autobuild/.git] / source4 / torture / smbtorture.c
index fc50436933f8d20bc6ebb7a2a100a489ba776e8a..1595786c2b3c89017a063a8e4c81fb716f5d888d 100644 (file)
@@ -560,7 +560,7 @@ int main(int argc, const char *argv[])
                if (fn == NULL) 
                        d_printf("Unable to load module from %s\n", poptGetOptArg(pc));
                else {
-                       status = fn();
+                       status = fn(NULL);
                        if (NT_STATUS_IS_ERR(status)) {
                                d_printf("Error initializing module %s: %s\n", 
                                        poptGetOptArg(pc), nt_errstr(status));