Stop printing a strerror of si_errno in the SIGBUS dump

Linux leaves si_errno zero there, so the line always read Error: Success.
This commit is contained in:
xirvik
2026-09-19 04:41:24 +00:00
committed by Jari Sundell
parent 19b71a98b7
commit d334b8d339
-2
View File
@@ -550,8 +550,6 @@ handle_sigbus(int signum, siginfo_t* sa, [[maybe_unused]] void* ptr) {
#else
output << "Stack dump not enabled." << std::endl;
#endif
output << std::endl << "Error: " << std::strerror(sa->si_errno) << std::endl;
const char* signal_reason;
switch (sa->si_code) {