Skip to content

Commit e030cf5

Browse files
committed
Fix copy&paste error in verify_higher_half test
1 parent f890cc1 commit e030cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_kernels/higher_half/src/bin/verify_higher_half.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fn kernel_main(boot_info: &'static mut BootInfo) -> ! {
2222
// verify that the stack is located in the higher half of the address space.
2323
let stack_addr = &rip;
2424
assert_eq!(
25-
(boot_info as *const _ as usize) & 0xffff800000000000,
25+
(stack_addr as *const _ as usize) & 0xffff800000000000,
2626
0xffff800000000000
2727
);
2828

0 commit comments

Comments
 (0)