summaryrefslogtreecommitdiff
path: root/source4/lib/registry/rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/registry/rpc.c')
-rw-r--r--source4/lib/registry/rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/rpc.c b/source4/lib/registry/rpc.c
index 6429a390db..6563fe02b0 100644
--- a/source4/lib/registry/rpc.c
+++ b/source4/lib/registry/rpc.c
@@ -260,7 +260,7 @@ static WERROR rpc_get_value_by_name(TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r);
r.in.handle = &mykeydata->pol;
- r.in.value_name = name;
+ r.in.value_name = &name;
r.in.type = type;
r.in.data = &value;
r.in.size = &val_size;