summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools/common.c
diff options
context:
space:
mode:
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 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));