summaryrefslogtreecommitdiffstats
path: root/source/rpcclient/cmd_reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/rpcclient/cmd_reg.c')
-rw-r--r--source/rpcclient/cmd_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpcclient/cmd_reg.c b/source/rpcclient/cmd_reg.c
index dfbfcf0cd1b..89b53c823f1 100644
--- a/source/rpcclient/cmd_reg.c
+++ b/source/rpcclient/cmd_reg.c
@@ -344,7 +344,7 @@ void cmd_reg_create_val(struct client_info *info)
uint32 unk_1;
/* query it */
res1 = res1 ? do_reg_query_info(smb_cli, &val_pol,
- type, &unk_0, &unk_1) : False;
+ val_name, *val_type) : False;
#endif
DEBUG(5, ("cmd_reg_create_val: smb_cli->fd:%d\n", smb_cli->fd));