]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/SafeString.c
MdePkg: Reproduce builds across source format changes
[mirror_edk2.git] / MdePkg / Library / BaseLib / SafeString.c
index 3bb23ca1a1300ebfea08931fb714c74922d1a438..24e818b921ea14e51671bc417e36286612d62d32 100644 (file)
@@ -17,7 +17,7 @@
     if (!(Expression)) { \\r
       DEBUG ((DEBUG_VERBOSE, \\r
         "%a(%d) %a: SAFE_STRING_CONSTRAINT_CHECK(%a) failed.  Return %r\n", \\r
-        __FILE__, __LINE__, __FUNCTION__, #Expression, Status)); \\r
+        __FILE__, DEBUG_LINE_NUMBER, __FUNCTION__, DEBUG_EXPRESSION_STRING (Expression), Status)); \\r
       return Status; \\r
     } \\r
   } while (FALSE)\r