From f8dbad419a89bb88feb4ac977c23d21f59f20038 Mon Sep 17 00:00:00 2001 From: scribam Date: Mon, 27 Nov 2023 21:30:13 +0100 Subject: [PATCH] linux: move log to the correct place --- core/linux/common.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/linux/common.cpp b/core/linux/common.cpp index 11f1bb4564..c8af1387c1 100644 --- a/core/linux/common.cpp +++ b/core/linux/common.cpp @@ -65,8 +65,10 @@ void fault_handler(int sn, siginfo_t * si, void *segfault_ctx) context_to_segfault(&ctx, segfault_ctx); return; } -#endif + ERROR_LOG(COMMON, "SIGSEGV @ %p invalid access to %p", (void *)ctx.pc, si->si_addr); +#endif + #ifdef __SWITCH__ MemoryInfo meminfo; u32 pageinfo;