From 9666c62036330bd856c943a690f16e6d31c0706f Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 7 Sep 2022 09:55:02 -0600 Subject: [PATCH] Fix copying EFI partition message --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ed89e1f6e9..a5d51fc527 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -520,7 +520,7 @@ pub fn with_whole_disk(disk_path: P, bootloader_bios: &[u8], bootloader // Format and install EFI partition { - // We write the BIOS partition and partition tables in memory to avoid non block aligned I/O + // We write the EFI partition and partition tables in memory to avoid non block aligned I/O let mut efi_partition = vec![0u8; efi_size as usize]; { eprintln!("Formatting EFI partition with size {:#x}", efi_size); @@ -544,7 +544,7 @@ pub fn with_whole_disk(disk_path: P, bootloader_bios: &[u8], bootloader file.write_all(&bootloader_efi)?; } - eprintln!("Copying BIOS partition to disk with size {:#x}", efi_size); + eprintln!("Copying EFI partition to disk with size {:#x}", efi_size); let mut disk_efi = fscommon::StreamSlice::new( &mut disk_file, efi_start * block_size,