From 3a5b6c96ee4e43d23f2bd4e38735a15c073c52d4 Mon Sep 17 00:00:00 2001 From: "liyihan2@huawei.com" Date: Thu, 29 Apr 2021 15:52:15 +0800 Subject: [PATCH] common log optimize --- ge/common/profiling/ge_profiling.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/common/profiling/ge_profiling.cc b/ge/common/profiling/ge_profiling.cc index b784726b..5e892ff8 100644 --- a/ge/common/profiling/ge_profiling.cc +++ b/ge/common/profiling/ge_profiling.cc @@ -136,7 +136,7 @@ ge::Status RegProfSetDeviceCallback(MsprofSetDeviceCallback func) { // Pass MsprofSetDeviceCallback to runtime ge::Status rt_ret = rtRegDeviceStateCallback(kRtSetDeviceRegName.c_str(), static_cast(func)); if (rt_ret != ge::SUCCESS) { - GELOGE(rt_ret, "[Pass][MsprofSetDeviceCallback]To runtime failed, ret 0x%X", ret); + GELOGE(rt_ret, "[Pass][MsprofSetDeviceCallback]To runtime failed, ret 0x%X", rt_ret); REPORT_CALL_ERROR("E19999", "Pass MsprofSetDeviceCallback to runtime failed, ret 0x%X", rt_ret); return rt_ret; }