boot: Fix .dtbauto section number for error reporting

This commit is contained in:
anonymix007 2024-11-06 23:04:18 +03:00
parent 145479f4d0
commit 24677c6787

View File

@ -253,7 +253,7 @@ static void pe_locate_sections_internal(
j->VirtualSize,
device_table,
device,
i))
(PTR_TO_SIZE(j) - PTR_TO_SIZE(section_table)) / sizeof(*j)))
continue;
}