ArmPlatformPkg/BootMonFs: eliminate deprecated string functions
Get rid of functions that are no longer available when defining DISABLE_NEW_DEPRECATED_INTERFACES Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
@@ -98,7 +98,8 @@ BootMonGetFileFromAsciiFileName (
|
||||
{
|
||||
FileEntry = BOOTMON_FS_FILE_FROM_LINK_THIS (Entry);
|
||||
if (FileEntry->Info != NULL) {
|
||||
UnicodeStrToAsciiStr (FileEntry->Info->FileName, OpenFileAsciiFileName);
|
||||
UnicodeStrToAsciiStrS (FileEntry->Info->FileName, OpenFileAsciiFileName,
|
||||
MAX_NAME_LENGTH);
|
||||
AsciiFileNameToCompare = OpenFileAsciiFileName;
|
||||
} else {
|
||||
AsciiFileNameToCompare = FileEntry->HwDescription.Footer.Filename;
|
||||
|
Reference in New Issue
Block a user