diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-10-24 18:30:37 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-10-28 15:53:59 +0100 |
commit | 5140a6dfb9b5b484b4cef524e27e0cf29c1d405e (patch) | |
tree | af820276fe723d4169a3d21de0b8d181d904b405 /EmbeddedPkg/Ebl/Command.c | |
parent | 310908760f5314c4a6d421ebcc6e1370bd2a1177 (diff) | |
download | edk2-platforms-5140a6dfb9b5b484b4cef524e27e0cf29c1d405e.tar.xz |
EmbeddedPkg/Ebl: eliminate deprecated string function calls
Get rid of calls to unsafe string functions. These are deprecated and may
be removed in the future.
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 'EmbeddedPkg/Ebl/Command.c')
-rw-r--r-- | EmbeddedPkg/Ebl/Command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EmbeddedPkg/Ebl/Command.c b/EmbeddedPkg/Ebl/Command.c index e75c6a2e5c..4bc1f4df0c 100644 --- a/EmbeddedPkg/Ebl/Command.c +++ b/EmbeddedPkg/Ebl/Command.c @@ -614,7 +614,7 @@ OutputData ( UINTN Spaces = 0;
CHAR8 Blanks[80];
- AsciiStrCpy (Blanks, mBlanks);
+ AsciiStrCpyS (Blanks, sizeof Blanks, mBlanks);
for (EndAddress = Address + Length; Address < EndAddress; Offset += Line) {
AsciiPrint ("%08x: ", Offset);
for (Line = 0; (Line < 0x10) && (Address < EndAddress);) {
|