Browse Source

Common log optimize

tags/v1.3.0
liyihan2@huawei.com 4 years ago
parent
commit
11a72900c2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/common/debug/memory_dumper.cc

+ 1
- 1
ge/common/debug/memory_dumper.cc View File

@@ -66,7 +66,7 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status MemoryDumper::DumpToFile

// Close the file
if (mmClose(fd) != EN_OK) { // mmClose return 0: success
GELOGE(FAILED, "[Close][File]Failed, error_code:%u, filename:%s.", ret, file_name);
GELOGE(FAILED, "[Close][File]Failed, error_code:%u, filename:%s.", ret, filename);
REPORT_INNER_ERROR("E19999", "Close file failed, error_code:%u, filename:%s.", ret, filename);
ret = FAILED;
}


Loading…
Cancel
Save