forked from Ports/perfect_dark
port: small crashhandler fix
This commit is contained in:
1 parent
701193e71a
commit
37907dccfc
1 file changed
+1
-1
+1
-1
@@ -58,7 +58,7 @@ static void crashStackTrace(char *msg, PEXCEPTION_POINTERS exinfo)
|
|||||||
stackframe.AddrStack.Offset = context.Rsp;
|
stackframe.AddrStack.Offset = context.Rsp;
|
||||||
stackframe.AddrStack.Mode = AddrModeFlat;
|
stackframe.AddrStack.Mode = AddrModeFlat;
|
||||||
#else
|
#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;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user