summaryrefslogtreecommitdiff
path: root/source3/torture/mangle_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/mangle_test.c')
-rw-r--r--source3/torture/mangle_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c
index 174c7128be..5acad2d015 100644
--- a/source3/torture/mangle_test.c
+++ b/source3/torture/mangle_test.c
@@ -153,7 +153,7 @@ static void gen_name(char *name)
/* ..... and a 100% proability of a file not ending in "." */
if (p[strlen(p)-1] == '.')
- p[strlen(p)-1] = '\0';
+ p[strlen(p)-1] = '_';
}