Merge branch 'hotfix/test' of https://github.com/taosdata/TDengine into hotfix/test

This commit is contained in:
Shengliang Guan 2020-08-07 15:55:45 +08:00
commit c78e82c2e6
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ static void dnodeCheckDataDirOpenned(char *dir) {
}
int32_t ret = flock(fd, LOCK_EX | LOCK_NB);
if (ret != 0) {
dError("failed to lock file:%s ret:%d, database may be running, quit", filepath, ret);
dError("failed to lock file:%s ret:%d[%s], database may be running, quit", filepath, ret, strerror(errno));
close(fd);
exit(0);
}