diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2016-12-20 12:45:48 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2016-12-20 12:45:48 +0000 |
commit | e025ebcdb538ee6d191d22aee0587f5534080a4b (patch) | |
tree | 9a22b3e44af581acc9e75c2b080d119aec677849 /sql/signal_handler.cc | |
parent | aaff3d6c35f51dde60907f3c0fc4b2a40bc63c38 (diff) | |
download | mariadb-git-e025ebcdb538ee6d191d22aee0587f5534080a4b.tar.gz |
Fix pointer formatting in crash handler output.
Do not use 0x%p to output thd address, use %p
Diffstat (limited to 'sql/signal_handler.cc')
-rw-r--r-- | sql/signal_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc index b0c67fbfe32..81792cc30ac 100644 --- a/sql/signal_handler.cc +++ b/sql/signal_handler.cc @@ -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" |