mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-06 21:59:03 +00:00
fix log
This commit is contained in:
parent
aa6c352aa2
commit
b6fd762fa8
1 changed files with 1 additions and 1 deletions
|
@ -1357,7 +1357,7 @@ static uint64_t device_termux_swappable_memory() {
|
||||||
std::string smaps_path = "/proc/" + std::string(entry->d_name) + "/smaps";
|
std::string smaps_path = "/proc/" + std::string(entry->d_name) + "/smaps";
|
||||||
std::ifstream smaps_file(smaps_path);
|
std::ifstream smaps_file(smaps_path);
|
||||||
if (!smaps_file.is_open()) {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue