Commit e025ebcd authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix pointer formatting in crash handler output.

Do not use 0x%p to output thd address, use %p
parent aaff3d6c
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment