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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/basic/charset.c b/source4/torture/basic/charset.c
index 44875c6b8f..d7e53ae92a 100644
--- a/source4/torture/basic/charset.c
+++ b/source4/torture/basic/charset.c
@@ -26,7 +26,7 @@
#include "libcli/libcli.h"
#include "torture/util.h"
-#define BASEDIR "\\chartest\\"
+#define BASEDIR "\\chartest"
/*
open a file using a set of unicode code points for the name
@@ -62,7 +62,7 @@ static NTSTATUS unicode_open(struct smbcli_tree *tree,
return NT_STATUS_NO_MEMORY;
}
- fname2 = talloc_asprintf(ucs_name, "%s%s", BASEDIR, fname);
+ fname2 = talloc_asprintf(ucs_name, "%s\\%s", BASEDIR, fname);
if (!fname2) {
talloc_free(ucs_name);
return NT_STATUS_NO_MEMORY;