diff options
Diffstat (limited to 'source4/lib/registry/rpc.c')
-rw-r--r-- | source4/lib/registry/rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/rpc.c b/source4/lib/registry/rpc.c index 7948f7cb40..bc49045ef7 100644 --- a/source4/lib/registry/rpc.c +++ b/source4/lib/registry/rpc.c @@ -331,7 +331,7 @@ static WERROR rpc_get_subkey_by_index(TALLOC_CTX *mem_ctx, } static WERROR rpc_add_key(TALLOC_CTX *mem_ctx, - struct registry_key *parent, const char *name, + struct registry_key *parent, const char *path, const char *key_class, struct security_descriptor *sec, struct registry_key **key) @@ -344,7 +344,7 @@ static WERROR rpc_add_key(TALLOC_CTX *mem_ctx, ZERO_STRUCT(r); r.in.handle = &parentkd->pol; - r.in.name.name = name; + r.in.name.name = path; r.in.keyclass.name = NULL; r.in.options = 0; r.in.access_mask = 0x02000000; |