summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/registry/tools/regdiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tools/regdiff.c b/source4/lib/registry/tools/regdiff.c
index 08c88a62ed..cf65de3064 100644
--- a/source4/lib/registry/tools/regdiff.c
+++ b/source4/lib/registry/tools/regdiff.c
@@ -119,7 +119,7 @@ int main(int argc, const char **argv)
}
- ev_ctx = s4_event_context_init(NULL);
+ ev_ctx = s4_event_context_init(ctx);
h1 = open_backend(ctx, pc, ev_ctx, cmdline_lp_ctx, backend1, remote1);
if (h1 == NULL)