From 37907dccfc2ed8dd34a14a099eb78e406cb274f8 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Fri, 1 Sep 2023 22:49:45 +0200 Subject: [PATCH] port: small crashhandler fix --- port/src/crash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/src/crash.c b/port/src/crash.c index d41baa4a0..fec0a9793 100644 --- a/port/src/crash.c +++ b/port/src/crash.c @@ -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