summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-16 01:32:54 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-16 01:32:54 +0200
commit2ef07ad551d398c39a595494aaa083a932ef79aa (patch)
tree085e479e4a43e3ef05222912f60ca79e9ee49eec /source4/lib/registry/tools
parent83c8d6cc89feeec797b9185fb967b24c9c088950 (diff)
downloadsamba-2ef07ad551d398c39a595494aaa083a932ef79aa.tar.gz
samba-2ef07ad551d398c39a595494aaa083a932ef79aa.tar.bz2
samba-2ef07ad551d398c39a595494aaa083a932ef79aa.zip
Remove unused arguments from reg_open_local().
(This used to be commit fee7ea7080ec40182efc6ffe57b267444eb9389a)
Diffstat (limited to 'source4/lib/registry/tools')
-rw-r--r--source4/lib/registry/tools/common.c2
-rw-r--r--source4/lib/registry/tools/regdiff.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/tools/common.c b/source4/lib/registry/tools/common.c
index cec0f8b906..52f3c6f551 100644
--- a/source4/lib/registry/tools/common.c
+++ b/source4/lib/registry/tools/common.c
@@ -57,7 +57,7 @@ struct registry_key *reg_common_open_file(const char *path,
return NULL;
}
- error = reg_open_local(NULL, &h, NULL, creds);
+ error = reg_open_local(NULL, &h);
if (!W_ERROR_IS_OK(error)) {
fprintf(stderr, "Unable to initialize local registry: %s\n",
win_errstr(error));
diff --git a/source4/lib/registry/tools/regdiff.c b/source4/lib/registry/tools/regdiff.c
index c94380efd2..69fcfc2493 100644
--- a/source4/lib/registry/tools/regdiff.c
+++ b/source4/lib/registry/tools/regdiff.c
@@ -48,7 +48,7 @@ static struct registry_context *open_backend(poptContext pc,
remote_host, NULL);
break;
case REG_NULL:
- error = reg_open_local(NULL, &ctx, NULL, cmdline_credentials);
+ error = reg_open_local(NULL, &ctx);
break;
}