summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools/common.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-07-13 00:16:09 +0200
committerMichael Adam <obnox@samba.org>2012-07-13 00:57:19 +0200
commit6ee16cefc98c8a033664be476be4446599450d23 (patch)
tree36072226ada62ff52b6c91107457432baee25ed2 /source4/lib/registry/tools/common.c
parente454681276ffa34984dda56e74d2fda05a24636c (diff)
downloadsamba-6ee16cefc98c8a033664be476be4446599450d23.tar.gz
samba-6ee16cefc98c8a033664be476be4446599450d23.tar.bz2
samba-6ee16cefc98c8a033664be476be4446599450d23.zip
s4:registry: add a TALLOC_CTX argument to reg_open_remote()
Diffstat (limited to 'source4/lib/registry/tools/common.c')
-rw-r--r--source4/lib/registry/tools/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tools/common.c b/source4/lib/registry/tools/common.c
index d997cb0fde..a2fda8d48d 100644
--- a/source4/lib/registry/tools/common.c
+++ b/source4/lib/registry/tools/common.c
@@ -31,7 +31,7 @@ struct registry_context *reg_common_open_remote(const char *remote,
struct registry_context *h = NULL;
WERROR error;
- error = reg_open_remote(&h, NULL, creds, lp_ctx, remote, ev_ctx);
+ error = reg_open_remote(NULL, &h, NULL, creds, lp_ctx, remote, ev_ctx);
if (!W_ERROR_IS_OK(error)) {
fprintf(stderr, "Unable to open remote registry at %s:%s \n",