Commit f01dd5b3 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Ard Biesheuvel
Browse files

efi/libstub: Fix error message in handle_cmdline_files()



The memory for files is allocated not reallocated.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Link: https://lore.kernel.org/r/20200221191829.18149-1-xypron.glpk@gmx.de


Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent ba832f68
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
			}