From 9869d98ac61ba20d4332149b52f6ecc6cb2c5b8b Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Thu, 6 Jan 2022 08:39:48 +0000 Subject: [PATCH] fix --- include/libs/tfs/tfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libs/tfs/tfs.h b/include/libs/tfs/tfs.h index 11e33a3af7..6c850d1016 100644 --- a/include/libs/tfs/tfs.h +++ b/include/libs/tfs/tfs.h @@ -73,7 +73,7 @@ typedef struct { #define tfsopen(pf, flags) open(TFILE_NAME(pf), flags) #define tfsclose(fd) close(fd) #define tfsremove(pf) remove(TFILE_NAME(pf)) -#define tfscopy(sf, df) taosCopy(TFILE_NAME(sf), TFILE_NAME(df)) +#define tfscopy(sf, df) taosCopyFile(TFILE_NAME(sf), TFILE_NAME(df)) #define tfsrename(sf, df) taosRename(TFILE_NAME(sf), TFILE_NAME(df)) void tfsInitFile(TFILE *pf, int level, int id, const char *bname);