From 175e225d2e9eb36db6c66cbbd17742ec9d42dd68 Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Fri, 25 Mar 2022 09:29:20 +0800 Subject: [PATCH] [TS-1324]: fix dataDir & logDir log output --- src/dnode/src/dnodeMain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dnode/src/dnodeMain.c b/src/dnode/src/dnodeMain.c index 0580761de1..b58b198fa2 100644 --- a/src/dnode/src/dnodeMain.c +++ b/src/dnode/src/dnodeMain.c @@ -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; } -- GitLab