]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c
MdePkg: DebugAssert enhancement
[mirror_edk2.git] / MdePkg / Library / BaseDebugLibSerialPort / DebugLib.c
index 6fa235c2af0cd581780fde85a2a9c3d033a6085e..8ab084721e9332b601591ec4dfb2793ac7cbf966 100644 (file)
@@ -133,7 +133,7 @@ DebugAssert (
   //\r
   // Generate the ASSERT() message in Ascii format\r
   //\r
-  AsciiSPrint (Buffer, sizeof (Buffer), "ASSERT %a(%d): %a\n", FileName, LineNumber, Description);\r
+  AsciiSPrint (Buffer, sizeof (Buffer), "ASSERT [%a] %a(%d): %a\n", gEfiCallerBaseName, FileName, LineNumber, Description);\r
 \r
   //\r
   // Send the print string to the Console Output device\r