mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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)
|
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",
|
my_safe_printf_stderr("%s",
|
||||||
"Attempting backtrace. You can use the following "
|
"Attempting backtrace. You can use the following "
|
||||||
"information to find out\n"
|
"information to find out\n"
|
||||||
|
Reference in New Issue
Block a user