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 ee1c493 commit 2c0a56eCopy full SHA for 2c0a56e
src/efi/mod.rs
@@ -266,7 +266,7 @@ pub fn efi_exec(
266
let wrapped_fs = file::FileSystemWrapper::new(fs, efi_part_id);
267
268
let mut path = [0u8; 256];
269
- path[0..crate::efi::EFI_BOOT_PATH.as_bytes().len()]
+ path[0..crate::efi::EFI_BOOT_PATH.len()]
270
.copy_from_slice(crate::efi::EFI_BOOT_PATH.as_bytes());
271
let device_path = DevicePath::File(path);
272
let image = new_image_handle(
0 commit comments