diff --git a/core/src/main/cpp/main/src/context.cpp b/core/src/main/cpp/main/src/context.cpp index f90bab6e..3c1a6010 100644 --- a/core/src/main/cpp/main/src/context.cpp +++ b/core/src/main/cpp/main/src/context.cpp @@ -71,7 +71,7 @@ namespace lspd { addr_ = addr; size_ = size; } else { - LOGE("Read dex failed: %s", strerror(errno)); + PLOGE("Read dex"); } } diff --git a/daemon/src/main/cpp/obfuscation.cpp b/daemon/src/main/cpp/obfuscation.cpp index d7e68394..607590ad 100644 --- a/daemon/src/main/cpp/obfuscation.cpp +++ b/daemon/src/main/cpp/obfuscation.cpp @@ -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; }