summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/htscoremain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htscoremain.c b/src/htscoremain.c
index 34ceecc..14cdba3 100644
--- a/src/htscoremain.c
+++ b/src/htscoremain.c
@@ -2996,7 +2996,7 @@ static int hts_main_internal(int argc, char **argv, httrackp * opt) {
}
}
- strcpy(n_lock,
+ strcpybuff(n_lock,
fconcat(OPT_GET_BUFF(opt), OPT_GET_BUFF_SIZE(opt), StringBuff(opt->path_log),
"hts-in_progress.lock"));
//sprintf(n_lock,fconcat(OPT_GET_BUFF(opt), StringBuff(opt->path_log),"hts-in_progress.lock"),n);