summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 14:57:03 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 14:57:03 +0200
commit27dce768d3801409a734f24765ea92e67ffbd014 (patch)
treeb55ed17bb224df5396d6ec930e54c34506f8f04b /source4/lib/registry/tests
parent61013deff80dbe3a3dfaa7b5060609500f1f63fa (diff)
downloadsamba-27dce768d3801409a734f24765ea92e67ffbd014.tar.gz
samba-27dce768d3801409a734f24765ea92e67ffbd014.tar.bz2
samba-27dce768d3801409a734f24765ea92e67ffbd014.zip
Remove more usages of global_loadparm.
Diffstat (limited to 'source4/lib/registry/tests')
-rw-r--r--source4/lib/registry/tests/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tests/diff.c b/source4/lib/registry/tests/diff.c
index 44ea090527..3dba7293bc 100644
--- a/source4/lib/registry/tests/diff.c
+++ b/source4/lib/registry/tests/diff.c
@@ -71,7 +71,7 @@ static bool test_diff_apply(struct torture_context *tctx, void *tcase_data)
struct registry_key *key;
WERROR error;
- error = reg_diff_apply(td->r1_ctx, td->filename);
+ error = reg_diff_apply(td->r1_ctx, lp_iconv_convenience(tctx->lp_ctx), td->filename);
torture_assert_werr_ok(tctx, error, "reg_diff_apply");
error = td->r1_ctx->ops->get_predefined_key(td->r1_ctx, HKEY_LOCAL_MACHINE, &key);