Fix up the "reg_common_open_remote" call
[ira/wip.git] / source4 / lib / registry / tools / regtree.c
index 440399f7645470f8e761a63904a6e13816c6cf6f..19e4a010b4319a3ed5a0655d53633c0b50e9c393 100644 (file)
@@ -129,10 +129,10 @@ int main(int argc, char **argv)
        while((opt = poptGetNextOpt(pc)) != -1) {
        }
 
-       ev_ctx = event_context_init(NULL);
+       ev_ctx = s4_event_context_init(NULL);
 
        if (remote != NULL) {
-               h = reg_common_open_remote(remote, cmdline_lp_ctx, cmdline_credentials);
+               h = reg_common_open_remote(remote, ev_ctx, cmdline_lp_ctx, cmdline_credentials);
        } else if (file != NULL) {
                start_key = reg_common_open_file(file, ev_ctx, cmdline_lp_ctx, cmdline_credentials);
        } else {