From 11a72900c2748f5219c151b8795007332bb52718 Mon Sep 17 00:00:00 2001 From: "liyihan2@huawei.com" Date: Wed, 24 Mar 2021 09:23:16 +0800 Subject: [PATCH] Common log optimize --- ge/common/debug/memory_dumper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/common/debug/memory_dumper.cc b/ge/common/debug/memory_dumper.cc index 1e5e9295..5cbf13cb 100644 --- a/ge/common/debug/memory_dumper.cc +++ b/ge/common/debug/memory_dumper.cc @@ -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; }