Skip to content

Commit 50e4563

Browse files
phil-oppFreax13
andauthored
Remove unnecessary reference
Co-authored-by: Tom Dohrmann <[email protected]>
1 parent 718b471 commit 50e4563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bios/boot_sector/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fn second_stage_start() -> *const () {
2929
pub extern "C" fn first_stage(disk_number: u16) {
3030
// read partition table and look for second stage partition
3131
print_char(b'1');
32-
let partition_table = &unsafe { slice::from_raw_parts(partition_table_raw(), 16 * 4) };
32+
let partition_table = unsafe { slice::from_raw_parts(partition_table_raw(), 16 * 4) };
3333
let second_stage_partition = mbr::get_partition(partition_table, 0);
3434

3535
// load second stage partition into memory

0 commit comments

Comments
 (0)