diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-10-25 19:14:57 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-10-28 15:56:13 +0100 |
commit | a5cd3bb037cf87ecda0a5c8cd8a3eda722591b70 (patch) | |
tree | a86551418c9a977575eb1db3c937775312232a37 /ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsEntryPoint.c | |
parent | 48dcef945001d66ebd0f63b9edd637ac71e7dc85 (diff) | |
download | edk2-platforms-a5cd3bb037cf87ecda0a5c8cd8a3eda722591b70.tar.xz |
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>
Diffstat (limited to 'ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsEntryPoint.c')
-rw-r--r-- | ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsEntryPoint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsEntryPoint.c b/ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsEntryPoint.c index 3d71760fef..a1150856f6 100644 --- a/ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsEntryPoint.c +++ b/ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsEntryPoint.c @@ -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;
|