Fix small log error

This commit is contained in:
topjohnwu 2019-02-03 02:45:49 -05:00
parent df38a9da71
commit 093f971896

View File

@ -452,7 +452,7 @@ static bool magisk_env() {
vendor_block = strdup(buf); vendor_block = strdup(buf);
xmkdir(MIRRDIR "/vendor", 0755); xmkdir(MIRRDIR "/vendor", 0755);
xmount(vendor_block, MIRRDIR "/vendor", buf2, MS_RDONLY, nullptr); xmount(vendor_block, MIRRDIR "/vendor", buf2, MS_RDONLY, nullptr);
VLOGI("mount", vendor_block, MIRRDIR "/system"); VLOGI("mount", vendor_block, MIRRDIR "/vendor");
} else if (SDK_INT >= 24 && } else if (SDK_INT >= 24 &&
str_contains(line, " /proc ") && !str_contains(line, "hidepid=2")) { str_contains(line, " /proc ") && !str_contains(line, "hidepid=2")) {
// Enforce hidepid // Enforce hidepid