sync code

Signed-off-by: lzr <liuzengrui1@huawei.com>
Change-Id: I022951f2401426436e9ad02aeed6e7ec757dda0a
This commit is contained in:
lzr 2024-06-21 18:46:42 +08:00
parent 9441bdb59f
commit bcf2eeba7b

View File

@ -115,7 +115,7 @@ void AceForwardCompatibility::ReclaimFileCache(int32_t pid)
LOGE("get invalid pid:%{public}d", pid);
return;
}
std::string path = "/proc" + std::to_string(pid) +"/reclaim";
std::string path = "/proc/" + std::to_string(pid) +"/reclaim";
std::string content = RECLAIM_FILEPAGE_STRING_FOR_LINUX;
#ifdef OHOS_PLATFORM