From b8b05a5f4dd486385df0c6cc408b696351e27d33 Mon Sep 17 00:00:00 2001 From: "liyihan2@huawei.com" Date: Thu, 29 Apr 2021 14:19:04 +0800 Subject: [PATCH] common log optimize --- ge/common/util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/common/util.cc b/ge/common/util.cc index 7a600d09..6887b096 100644 --- a/ge/common/util.cc +++ b/ge/common/util.cc @@ -253,7 +253,7 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY std::string CurrentTimeInStr() std::tm *ptm = std::localtime(&now); if (ptm == nullptr) { GELOGE(ge::FAILED, "[Check][Param]Localtime incorrect, errmsg %s", strerror(errno)); - REPORT_CALL_ERROR("E19999", "Localtime incorrect, errmsg", strerror(errno)); + REPORT_CALL_ERROR("E19999", "Localtime incorrect, errmsg %s", strerror(errno)); return ""; }