mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-16 22:11:25 +00:00
Fix #4853
This commit is contained in:
parent
472656517f
commit
e20b07fa24
@ -196,7 +196,7 @@ void BootConfig::print() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define read_dt(name, key) \
|
#define read_dt(name, key) \
|
||||||
snprintf(file_name, sizeof(file_name), "%s/" name, config->key); \
|
snprintf(file_name, sizeof(file_name), "%s/" name, config->dt_dir); \
|
||||||
if (access(file_name, R_OK) == 0) { \
|
if (access(file_name, R_OK) == 0) { \
|
||||||
string data = full_read(file_name); \
|
string data = full_read(file_name); \
|
||||||
if (!data.empty()) { \
|
if (!data.empty()) { \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user