loader: correct comment on init section

This assert is getting triggered due to a bug.  The error message is
missing a closing ")".

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-03-10 17:31:30 +08:00
parent 62cb867ad5
commit 45656b36cd

View file

@ -601,7 +601,7 @@ fn copy_processes(cfg: &mut BootConfig) {
println!("IniE has {} sections", inie.sections.len());
for section in inie.sections.iter() {
if (section.virt as usize) < previous_addr {
panic!("init section addresses are not strictly increasing (new virt: {:08x}, last virt: {:08x}", section.virt, previous_addr);
panic!("init section addresses are not strictly increasing (new virt: {:08x}, last virt: {:08x})", section.virt, previous_addr);
}
let this_page = section.virt as usize & !(PAGE_SIZE - 1);