From 45656b36cdfa51d6cbf1aabc13d05a9c8e2e3c8f Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Tue, 10 Mar 2020 17:31:30 +0800 Subject: [PATCH] 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 --- loader/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/src/main.rs b/loader/src/main.rs index 2b456fe98..7ebad226d 100644 --- a/loader/src/main.rs +++ b/loader/src/main.rs @@ -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);