port: small crashhandler fix

This commit is contained in:
fgsfds committed 2023-09-01 22:49:45 +02:00
1 parent 701193e71a
commit 37907dccfc
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ static void crashStackTrace(char *msg, PEXCEPTION_POINTERS exinfo)
stackframe.AddrStack.Offset = context.Rsp;
stackframe.AddrStack.Mode = AddrModeFlat;
#else
sysLogPrintf(LOG_ERROR, "no stack trace available on this arch");
snprintf(msg, CRASH_MAX_MSG, "no stack trace available on this arch\n");
return;
#endif