Fix using crash abort reason string as printf format string

This commit is contained in:
Jonathan G Rennison
2017-08-12 00:57:54 +01:00
parent 3271d69bda
commit fd9a2e680c

View File

@@ -567,8 +567,7 @@ static void CDECL HandleCrash(int signum)
const char *abort_reason = CrashLog::GetAbortCrashlogReason();
if (abort_reason != NULL) {
printf("A serious fault condition occurred in the game. The game will shut down.\n");
printf(abort_reason);
printf("A serious fault condition occurred in the game. The game will shut down.\n%s", abort_reason);
abort();
}