mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fix pointer formatting in crash handler output.
Do not use 0x%p to output thd address, use %p
This commit is contained in:
@ -143,7 +143,7 @@ extern "C" sig_handler handle_fatal_signal(int sig)
|
||||
|
||||
if (opt_stack_trace)
|
||||
{
|
||||
my_safe_printf_stderr("Thread pointer: 0x%p\n", thd);
|
||||
my_safe_printf_stderr("Thread pointer: %p\n", thd);
|
||||
my_safe_printf_stderr("%s",
|
||||
"Attempting backtrace. You can use the following "
|
||||
"information to find out\n"
|
||||
|
Reference in New Issue
Block a user