mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Print the correct size of loader.efi when failing to load it into memory.
Obtained from: AsiaBSDCon Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
537e5f9a74
commit
cc91c4c7b4
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ try_boot()
|
|||
if ((status = bs->LoadImage(TRUE, image, devpath_last(dev->devpath),
|
||||
loaderbuf, loadersize, &loaderhandle)) != EFI_SUCCESS) {
|
||||
printf("Failed to load image provided by %s, size: %zu, (%lu)\n",
|
||||
mod->name, bufsize, EFI_ERROR_CODE(status));
|
||||
mod->name, loadersize, EFI_ERROR_CODE(status));
|
||||
goto errout;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue