summaryrefslogtreecommitdiff
path: root/src/htscoremain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/htscoremain.c')
-rw-r--r--src/htscoremain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htscoremain.c b/src/htscoremain.c
index 38a4112..82af9e0 100644
--- a/src/htscoremain.c
+++ b/src/htscoremain.c
@@ -2994,7 +2994,7 @@ HTSEXT_API int hts_main2(int argc, char **argv, httrackp * opt) {
(OPT_GET_BUFF(opt), OPT_GET_BUFF_SIZE(opt), StringBuff(opt->path_log), "hts-cache"));
#else
mkdir(fconcat
- (OPT_GET_BUFF(opt), StringBuff(opt->path_log), "hts-cache"),
+ (OPT_GET_BUFF(opt), OPT_GET_BUFF_SIZE(opt), StringBuff(opt->path_log), "hts-cache"),
HTS_PROTECT_FOLDER);
#endif
fp =