summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_parse/parse_reg.c')
-rw-r--r--source3/rpc_parse/parse_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c
index a3d8ebb64a..84d9650105 100644
--- a/source3/rpc_parse/parse_reg.c
+++ b/source3/rpc_parse/parse_reg.c
@@ -769,7 +769,7 @@ void make_reg_r_info(REG_R_INFO *r_r,
uint32 status)
{
char buf[512];
- int len = struni2(buf, os_type);
+ int len = str_to_unistr8(buf, os_type);
r_r->ptr1 = 1;
r_r->level = level;