diff options
author | jyao1 <jyao1> | 2014-08-08 00:21:18 +0000 |
---|---|---|
committer | jyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-08 00:21:18 +0000 |
commit | 8f9bafeea6adcd690d899a58db9c1dd1b048df38 (patch) | |
tree | 8a24308da579df5c9007a2166b5d105b7ec23cf3 /IntelFspPkg | |
parent | e1044f8074836b74188a2371ba70be05d0e0482b (diff) | |
download | edk2-8f9bafeea6adcd690d899a58db9c1dd1b048df38.zip edk2-8f9bafeea6adcd690d899a58db9c1dd1b048df38.tar.gz edk2-8f9bafeea6adcd690d899a58db9c1dd1b048df38.tar.bz2 |
Correct AsciiStrnCpy.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed off by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15772 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFspPkg')
-rw-r--r-- | IntelFspPkg/Library/BaseFspDebugLibSerialPort/DebugLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFspPkg/Library/BaseFspDebugLibSerialPort/DebugLib.c b/IntelFspPkg/Library/BaseFspDebugLibSerialPort/DebugLib.c index 55a917b..4716590 100644 --- a/IntelFspPkg/Library/BaseFspDebugLibSerialPort/DebugLib.c +++ b/IntelFspPkg/Library/BaseFspDebugLibSerialPort/DebugLib.c @@ -148,7 +148,7 @@ DebugAssertInternal ( //
// Generate the ASSERT() message in Ascii format
//
- AsciiStrnCpy (Buffer, sizeof(Buffer), "-> EBP:0x00000000 EIP:0x00000000\n");
+ AsciiStrnCpy (Buffer, "-> EBP:0x00000000 EIP:0x00000000\n", sizeof(Buffer));
SerialPortWrite ((UINT8 *)"ASSERT DUMP:\n", 13);
while (Frame != NULL) {
FillHex ((UINT32)Frame, Buffer + 9);
|