1
0
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:
Vladislav Vaintroub
2016-12-20 12:45:48 +00:00
parent aaff3d6c35
commit e025ebcdb5

View File

@ -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"