Update selinux

This commit is contained in:
topjohnwu
2022-01-30 08:18:04 -08:00
parent d3d28f0623
commit 3bf47a6838
4 changed files with 7 additions and 7 deletions

View File

@@ -110,7 +110,7 @@ sepolicy *sepolicy::compile_split() {
#if MAGISK_DEBUG
cil_set_log_level(CIL_INFO);
#endif
cil_set_log_handler(+[](int lvl, char* msg) {
cil_set_log_handler(+[](int lvl, const char *msg) {
if (lvl == CIL_ERR) {
LOGE("cil: %s", msg);
} else if (lvl == CIL_WARN) {