提交 c78e82c2 编写于 作者: S Shengliang Guan

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

......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册