We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 718b471 commit 50e4563Copy full SHA for 50e4563
bios/boot_sector/src/main.rs
@@ -29,7 +29,7 @@ fn second_stage_start() -> *const () {
29
pub extern "C" fn first_stage(disk_number: u16) {
30
// read partition table and look for second stage partition
31
print_char(b'1');
32
- let partition_table = &unsafe { slice::from_raw_parts(partition_table_raw(), 16 * 4) };
+ let partition_table = unsafe { slice::from_raw_parts(partition_table_raw(), 16 * 4) };
33
let second_stage_partition = mbr::get_partition(partition_table, 0);
34
35
// load second stage partition into memory
0 commit comments