Fix up the "reg_common_open_remote" call
[metze/samba/wb-ndr.git] / source / lib / registry / tools / regtree.c
index daca6957a1aa47ed56152776cabff4e0250c866a..19e4a010b4319a3ed5a0655d53633c0b50e9c393 100644 (file)
@@ -132,7 +132,7 @@ int main(int argc, char **argv)
        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 {