Use PLOGE

This commit is contained in:
kotori0 2022-02-02 18:44:54 +08:00 committed by LoveSy
parent 2034441122
commit 581810401d
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ namespace lspd {
addr_ = addr;
size_ = size;
} else {
LOGE("Read dex failed: %s", strerror(errno));
PLOGE("Read dex");
}
}

View File

@ -129,7 +129,7 @@ Java_org_lsposed_lspd_service_ObfuscationManager_preloadDex(JNIEnv *, jclass ) {
auto *addr = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fileno(f.get()), 0);
if (addr == MAP_FAILED) {
LOGE("Read dex failed: %s", strerror(errno));
PLOGE("Read dex");
return -1;
}