Use a custom init function for samba4 that sets a samba4
[abartlet/samba.git/.git] / source4 / lib / registry / tools / regshell.c
index 80eafcc4a29a69edfed366c5293b53f0cbc77956..4e859df3f60c7f8effbe02700518983ed15f4dab 100644 (file)
@@ -517,7 +517,7 @@ int main(int argc, char **argv)
 
        ctx = talloc_zero(NULL, struct regshell_context);
 
-       ev_ctx = event_context_init(ctx);
+       ev_ctx = s4_event_context_init(ctx);
 
        if (remote != NULL) {
                ctx->registry = reg_common_open_remote(remote, cmdline_lp_ctx,