Fixed OcBootManagementLib.c

This commit is contained in:
Andrey1970AppleLife 2019-06-07 01:27:56 +03:00 committed by GitHub
parent 7fafb35757
commit c5a6b3084f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -590,7 +590,7 @@ OcLoadBootEntry (
&DmgLoadContext
);
if (!EFI_ERROR (Status)) {
Status = Context->StartImage (BootEntry, ParentHandle, NULL, NULL);
Status = Context->StartImage (BootEntry, EntryHandle, NULL, NULL);
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_ERROR, "OCB: StartImage failed - %r\n", Status));
//