summaryrefslogtreecommitdiff
path: root/source4/torture/basic/charset.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/basic/charset.c')
-rw-r--r--source4/torture/basic/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/charset.c b/source4/torture/basic/charset.c
index 330dcf1707..879f20617f 100644
--- a/source4/torture/basic/charset.c
+++ b/source4/torture/basic/charset.c
@@ -50,7 +50,7 @@ static NTSTATUS unicode_open(struct smbcli_tree *tree,
}
SSVAL(ucs_name, i*2, 0);
- i = convert_string_allocate(CH_UCS2, CH_UNIX, ucs_name, (1+u_name_len)*2, (void **)&fname);
+ i = convert_string_allocate(CH_UTF16, CH_UNIX, ucs_name, (1+u_name_len)*2, (void **)&fname);
if (i == -1) {
free(ucs_name);
return NT_STATUS_NO_MEMORY;