diff --git a/risc_v/ch3/src/page.rs b/risc_v/ch3/src/page.rs index e4d973b..3f5f87d 100644 --- a/risc_v/ch3/src/page.rs +++ b/risc_v/ch3/src/page.rs @@ -283,8 +283,8 @@ pub fn print_page_allocations() { beg = beg.add(1); } println!("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"); - println!("Allocated: {:<5} pages ({:<9} bytes).", num, num * PAGE_SIZE); - println!("Free : {:<5} pages ({:<9} bytes).", num_pages-num, (num_pages-num) * PAGE_SIZE); + println!("Allocated: {:>5} pages ({:>9} bytes).", num, num * PAGE_SIZE); + println!("Free : {:>5} pages ({:>9} bytes).", num_pages-num, (num_pages-num) * PAGE_SIZE); println!(); } }