Browse Source

common log optimize

tags/v1.3.0
liyihan2@huawei.com 3 years ago
parent
commit
b8b05a5f4d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/common/util.cc

+ 1
- 1
ge/common/util.cc View File

@@ -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 "";
}



Loading…
Cancel
Save