s4:registry: add a TALLOC_CTX argument to reg_open_remote()
[mat/samba.git] / source4 / lib / registry / tools / regdiff.c
index bd58f7748fd9c240c5f85f2f6901263d64296682..3683e76da6614f968753390369d14340c0848ae1 100644 (file)
@@ -45,7 +45,7 @@ static struct registry_context *open_backend(poptContext pc,
                error = reg_open_samba(NULL, &ctx, ev_ctx, lp_ctx, NULL, cmdline_credentials);
                break;
        case REG_REMOTE:
-               error = reg_open_remote(&ctx, NULL, cmdline_credentials, lp_ctx,
+               error = reg_open_remote(NULL, &ctx, NULL, cmdline_credentials, lp_ctx,
                                        remote_host, ev_ctx);
                break;
        case REG_NULL: