From b6fd762fa89496a2d6504940d810e1c3788a8dbb Mon Sep 17 00:00:00 2001 From: Lizonghang <870644199@qq.com> Date: Sat, 21 Dec 2024 19:01:00 +0400 Subject: [PATCH] fix log --- common/profiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/profiler.cpp b/common/profiler.cpp index 75da9df6..748e361a 100644 --- a/common/profiler.cpp +++ b/common/profiler.cpp @@ -1357,7 +1357,7 @@ static uint64_t device_termux_swappable_memory() { std::string smaps_path = "/proc/" + std::string(entry->d_name) + "/smaps"; std::ifstream smaps_file(smaps_path); if (!smaps_file.is_open()) { - LOG_WARN("Failed to open smaps file: %s\n", smaps_path.c_str()); + LOG_WRN("Failed to open smaps file: %s\n", smaps_path.c_str()); continue; }