提交 175e225d 编写于 作者: M Minglei Jin

[TS-1324]<fix>: fix dataDir & logDir log output

上级 22904903
......@@ -173,7 +173,7 @@ int32_t dnodeInitSystem() {
dnodeInitTmr();
if (dnodeCreateDir(tsLogDir) < 0) {
printf("failed to create dir: %s, reason: %s\n", tsLogDir, strerror(errno));
printf("failed to initialize dir: %s, reason: %s\n", tsLogDir, strerror(errno));
return -1;
}
......@@ -261,7 +261,7 @@ static int32_t dnodeInitStorage() {
// storage module init
if (tsDiskCfgNum == 1 && dnodeCreateDir(tsDataDir) < 0) {
dError("failed to create dir: %s, reason: %s", tsDataDir, strerror(errno));
dError("failed to initialize dir: %s, reason: %s", tsDataDir, strerror(errno));
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册