mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 02:04:05 +08:00
efi/libstub: Fix error message in handle_cmdline_files()
The memory for files is allocated not reallocated. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Link: https://lore.kernel.org/r/20200221191829.18149-1-xypron.glpk@gmx.de Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
ba832f68dc
commit
f01dd5b3d1
@ -190,7 +190,7 @@ static efi_status_t handle_cmdline_files(efi_loaded_image_t *image,
|
||||
&alloc_addr,
|
||||
hard_limit);
|
||||
if (status != EFI_SUCCESS) {
|
||||
pr_efi_err("Failed to reallocate memory for files\n");
|
||||
pr_efi_err("Failed to allocate memory for files\n");
|
||||
goto err_close_file;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user