Fix up the "reg_common_open_remote" call
[ira/wip.git] / source4 / lib / registry / tools / regshell.c
index ee8f366e6e29a152bbc43d07184ee09e479af100..98f7f02c38cec5e3340ddc5bfcd956640c6df2d7 100644 (file)
@@ -518,8 +518,8 @@ int main(int argc, char **argv)
        ev_ctx = s4_event_context_init(ctx);
 
        if (remote != NULL) {
-               ctx->registry = reg_common_open_remote(remote, cmdline_lp_ctx, 
-                                                      cmdline_credentials);
+               ctx->registry = reg_common_open_remote(remote, ev_ctx,
+                                        cmdline_lp_ctx, cmdline_credentials);
        } else if (file != NULL) {
                ctx->current = reg_common_open_file(file, ev_ctx, cmdline_lp_ctx, cmdline_credentials);
                if (ctx->current == NULL)