Skip to content

Commit 5d79822

Browse files
Fix FailFast logging message (#75718)
Co-authored-by: eduardo-vp <[email protected]>
1 parent 43a1166 commit 5d79822

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/coreclr/dlls/mscorrc/mscorrc.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ BEGIN
549549
IDS_ER_STACK_OVERFLOW "Description: The process was terminated due to stack overflow."
550550
IDS_ER_STACK "Stack:"
551551
IDS_ER_WORDAT "at"
552-
IDS_ER_UNMANAGEDFAILFASTMSG "at IP 0x%x (0x%x) with exit code 0x%x."
552+
IDS_ER_UNMANAGEDFAILFASTMSG "at IP 0x%1 (0x%2) with exit code 0x%3."
553553
IDS_ER_UNHANDLEDEXCEPTIONINFO "exception code %1, exception address %2"
554554
IDS_ER_MESSAGE_TRUNCATE "The remainder of the message was truncated."
555555
IDS_ER_CODECONTRACT_FAILED "Description: The application encountered a bug. A managed code contract (precondition, postcondition, object invariant, or assert) failed."

src/coreclr/vm/eepolicy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ void EEPolicy::LogFatalError(UINT exitCode, UINT_PTR address, LPCWSTR pszMessage
469469
InlineSString<80> ssMessage;
470470
InlineSString<80> ssErrorFormat;
471471
if(!ssErrorFormat.LoadResource(CCompRC::Optional, IDS_ER_UNMANAGEDFAILFASTMSG ))
472-
ssErrorFormat.Set(W("at IP 0x%x (0x%x) with exit code 0x%x."));
472+
ssErrorFormat.Set(W("at IP 0x%1 (0x%2) with exit code 0x%3."));
473473
SmallStackSString addressString;
474474
addressString.Printf(W("%p"), pExceptionInfo? (PVOID)pExceptionInfo->ExceptionRecord->ExceptionAddress : (PVOID)address);
475475

0 commit comments

Comments
 (0)