Commit e20b07fa authored by LoveSy's avatar LoveSy Committed by John Wu

Fix #4853

parent 47265651
......@@ -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()) { \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment