summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tests/registry.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-27 18:56:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:55 -0500
commit616c45f16a56527f54d428a7fbeabcc9952459f5 (patch)
tree7f8ba43baf5051a73f09f699f70aecb684410f85 /source4/lib/registry/tests/registry.c
parented8d04ead92839d54ca67f55a8e2be9723dc6b0d (diff)
downloadsamba-616c45f16a56527f54d428a7fbeabcc9952459f5.tar.gz
samba-616c45f16a56527f54d428a7fbeabcc9952459f5.tar.bz2
samba-616c45f16a56527f54d428a7fbeabcc9952459f5.zip
r24718: Fix some compiler warnings.
(This used to be commit 08f7389ab7312d350e056b1ba98da86d80944424)
Diffstat (limited to 'source4/lib/registry/tests/registry.c')
-rw-r--r--source4/lib/registry/tests/registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tests/registry.c b/source4/lib/registry/tests/registry.c
index 2aab034ff3..dfc8e09d57 100644
--- a/source4/lib/registry/tests/registry.c
+++ b/source4/lib/registry/tests/registry.c
@@ -87,7 +87,7 @@ static bool test_predef_key_by_name_invalid(struct torture_context *tctx,
struct registry_key *root;
WERROR error;
- error = reg_get_predefined_key_by_name(tctx, "BLA", &root);
+ error = reg_get_predefined_key_by_name(rctx, "BLA", &root);
torture_assert_werr_equal(tctx, error, WERR_BADFILE,
"getting predefined key failed");
return true;