Merge pull request #4 from jiqiu2022/hide_inject

fix errlog
This commit is contained in:
Ji qiu
2024-11-16 23:05:19 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -12,5 +12,5 @@
#define LOGW(...) __android_log_print(ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__)
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
#define PLOGE(fmt, args...) LOGE(fmt " failed with %d: %s", ##args, errno, strerror(errno))
#endif //ZYGISK_IL2CPPDUMPER_LOG_H

View File

@@ -43,7 +43,7 @@ static int get_prot(const procmaps_struct *procstruct) {
__typeof__(exp) _rc; \
_rc = (exp); \
if (_rc == failure_value) { \
LOGE(#exp); \
PLOGE(#exp); \
return 1; \
} \
_rc; })