This commit is contained in:
LoveSy 2021-11-02 19:41:20 +08:00 committed by John Wu
parent 472656517f
commit e20b07fa24

View File

@ -196,7 +196,7 @@ void BootConfig::print() {
}
#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) { \
string data = full_read(file_name); \
if (!data.empty()) { \