diff options
-rw-r--r-- | src/mktemp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mktemp.c b/src/mktemp.c index ac35026e8..f60e82486 100644 --- a/src/mktemp.c +++ b/src/mktemp.c @@ -118,14 +118,14 @@ static int mkstemp_len (char *tmpl, size_t suff_len, size_t x_len, bool dry_run) { return gen_tempname_len (tmpl, suff_len, 0, dry_run ? GT_NOCREATE : GT_FILE, - suff_len); + x_len); } static int mkdtemp_len (char *tmpl, size_t suff_len, size_t x_len, bool dry_run) { return gen_tempname_len (tmpl, suff_len, 0, dry_run ? GT_NOCREATE : GT_DIR, - suff_len); + x_len); } int |