mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/Bds: Minor fixes and coding style changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12316 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
aa863d357a
commit
ff7666c511
|
@ -82,7 +82,7 @@ SelectBootDevice (
|
|||
Status = EFI_ABORTED;
|
||||
goto EXIT;
|
||||
} else if ((SupportedDeviceSelected == 0) || (SupportedDeviceSelected > SupportedDeviceCount)) {
|
||||
Print(L"Invalid input (max %d)\n",SupportedDeviceSelected);
|
||||
Print(L"Invalid input (max %d)\n",SupportedDeviceCount);
|
||||
SupportedDeviceSelected = 0;
|
||||
}
|
||||
}
|
||||
|
@ -353,7 +353,7 @@ BootMenuUpdateBootOption (
|
|||
// Get the device support for this Boot Option
|
||||
Status = BootDeviceGetDeviceSupport (BootOption, &DeviceSupport);
|
||||
if (EFI_ERROR(Status)) {
|
||||
Print(L"Impossible to retrieve the supported device for the update\n");
|
||||
Print(L"Not possible to retrieve the supported device for the update\n");
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
|
@ -463,7 +463,7 @@ BootMenuManager (
|
|||
}
|
||||
return EFI_SUCCESS;
|
||||
} else if ((OptionSelected > 0) && (OptionSelected <= BootManagerEntryCount)) {
|
||||
Status = BootManagerEntries[OptionSelected-1].Callback (BootOptionsList);
|
||||
BootManagerEntries[OptionSelected-1].Callback (BootOptionsList);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue