summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools/regtree.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-14 00:27:31 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:50:11 +0100
commit96a200511e884a88dcf48fa5b313b2cddb2df566 (patch)
treeda89d150a2b706d096461d33b07674b25354634f /source4/lib/registry/tools/regtree.c
parent2331f4e9a56baa00ab4f250d10416a072320b539 (diff)
downloadsamba-96a200511e884a88dcf48fa5b313b2cddb2df566.tar.gz
samba-96a200511e884a88dcf48fa5b313b2cddb2df566.tar.bz2
samba-96a200511e884a88dcf48fa5b313b2cddb2df566.zip
r26443: Remove global_loadparm instances.
(This used to be commit 8242c696235d1bfb402b5c276a57f36d93610545)
Diffstat (limited to 'source4/lib/registry/tools/regtree.c')
-rw-r--r--source4/lib/registry/tools/regtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tools/regtree.c b/source4/lib/registry/tools/regtree.c
index b267e11b43..0f47d8f8dd 100644
--- a/source4/lib/registry/tools/regtree.c
+++ b/source4/lib/registry/tools/regtree.c
@@ -131,7 +131,7 @@ int main(int argc, char **argv)
if (remote != NULL) {
h = reg_common_open_remote(remote, cmdline_lp_ctx, cmdline_credentials);
} else if (file != NULL) {
- start_key = reg_common_open_file(file, cmdline_credentials);
+ start_key = reg_common_open_file(file, cmdline_lp_ctx, cmdline_credentials);
} else {
h = reg_common_open_local(cmdline_credentials, cmdline_lp_ctx);
}