summaryrefslogtreecommitdiff
path: root/source4/rpc_server/winreg
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-11 20:06:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:20 -0500
commit969e14eae941427cf36c71b5588d7dd8e1f3c615 (patch)
treeb493a38f3050682355d0a8423a718076d617a849 /source4/rpc_server/winreg
parent6cf13f4d72beee3df0432d0898c5981ce8bced43 (diff)
downloadsamba-969e14eae941427cf36c71b5588d7dd8e1f3c615.tar.gz
samba-969e14eae941427cf36c71b5588d7dd8e1f3c615.tar.bz2
samba-969e14eae941427cf36c71b5588d7dd8e1f3c615.zip
r4155: More destinction between hives and predefined keys
(This used to be commit c37d6f3c581673d74e7ec6a644ab6a7d13a55535)
Diffstat (limited to 'source4/rpc_server/winreg')
-rw-r--r--source4/rpc_server/winreg/rpc_winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c
index a5c6effa2f..478c6c1d86 100644
--- a/source4/rpc_server/winreg/rpc_winreg.c
+++ b/source4/rpc_server/winreg/rpc_winreg.c
@@ -48,7 +48,7 @@ static WERROR winreg_openhive (struct dcesrv_call_state *dce_call, TALLOC_CTX *m
h = dcesrv_handle_new(dce_call->conn, HTYPE_REGKEY);
- error = reg_get_hive(ctx, hkey, (struct registry_key **)&h->data);
+ error = reg_get_predefined_key(ctx, hkey, (struct registry_key **)&h->data);
if (!W_ERROR_IS_OK(error)) {
return error;
}