mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
e1044f8074
commit
8f9bafeea6
|
@ -148,7 +148,7 @@ DebugAssertInternal (
|
||||||
//
|
//
|
||||||
// Generate the ASSERT() message in Ascii format
|
// 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);
|
SerialPortWrite ((UINT8 *)"ASSERT DUMP:\n", 13);
|
||||||
while (Frame != NULL) {
|
while (Frame != NULL) {
|
||||||
FillHex ((UINT32)Frame, Buffer + 9);
|
FillHex ((UINT32)Frame, Buffer + 9);
|
||||||
|
|
Loading…
Reference in New Issue