summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools/regtree.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-21 16:01:19 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-21 16:01:19 +0100
commit48307b54f95395fbd201d92d738b482f80cd15ef (patch)
treefde46141ad4c47fe726718a19e68743227ef56c0 /source4/lib/registry/tools/regtree.c
parent263a77c5618daddb0c1e4f0ad0a922bca55faf0d (diff)
downloadsamba-48307b54f95395fbd201d92d738b482f80cd15ef.tar.gz
samba-48307b54f95395fbd201d92d738b482f80cd15ef.tar.bz2
samba-48307b54f95395fbd201d92d738b482f80cd15ef.zip
Remove more uses of global_loadparm.
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)
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 0f47d8f8dd..424d3515e0 100644
--- a/source4/lib/registry/tools/regtree.c
+++ b/source4/lib/registry/tools/regtree.c
@@ -82,7 +82,7 @@ static void print_tree(int level, struct registry_key *p,
int j;
char *desc;
for(j = 0; j < level+1; j++) putchar(' ');
- desc = reg_val_description(mem_ctx, valuename,
+ desc = reg_val_description(mem_ctx, lp_iconv_convenience(cmdline_lp_ctx), valuename,
value_type, value_data);
printf("%s\n", desc);
}