summaryrefslogtreecommitdiff
path: root/EmbeddedPkg/Ebl/Command.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-10-24 18:30:37 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-10-28 15:53:59 +0100
commit5140a6dfb9b5b484b4cef524e27e0cf29c1d405e (patch)
treeaf820276fe723d4169a3d21de0b8d181d904b405 /EmbeddedPkg/Ebl/Command.c
parent310908760f5314c4a6d421ebcc6e1370bd2a1177 (diff)
downloadedk2-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.c2
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);) {