diff options
-rw-r--r-- | source4/torture/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/util.c b/source4/torture/util.c index 812ae7574d..11cb81ca06 100644 --- a/source4/torture/util.c +++ b/source4/torture/util.c @@ -33,7 +33,7 @@ _PUBLIC_ NTSTATUS torture_temp_dir(TALLOC_CTX *mem_ctx, const char *prefix, { const char *basedir = lp_parm_string(-1, "torture", "basedir"); if (basedir == NULL) basedir = "."; - *tempdir = talloc_asprintf(mem_ctx, "%s/torture.tmp-%s.XXXXXX", + *tempdir = talloc_asprintf(mem_ctx, "%s/%s.XXXXXX", basedir, prefix); if (mkdtemp(*tempdir) == NULL) |