This commit is contained in:
Hongze Cheng 2020-06-18 05:58:24 +00:00
parent 32f7a2728b
commit 05bc6db540
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ static int32_t tsdbSetRepoEnv(char *rootDir, STsdbCfg *pCfg) {
if (mkdir(dirName, 0755) < 0) {
tsdbError("vgId:%d failed to create directory %s since %s", pCfg->tsdbId, dirName, strerror(errno));
errno = TAOS_SYSTEM_ERROR(errno);
terrno = TAOS_SYSTEM_ERROR(errno);
free(dirName);
return -1;
}