diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-03-12 11:31:40 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-03-12 11:31:40 +0100 |
commit | 8245178f5d55d2f1f90e87a78a0c5c5245875809 (patch) | |
tree | 08ebb28223690a2e3fb187d9c2a5f9ac4f6f809c /sql/signal_handler.cc | |
parent | 60aad314224227fb5e652bfa094fb01373414a37 (diff) | |
download | mariadb-git-8245178f5d55d2f1f90e87a78a0c5c5245875809.tar.gz |
LP953714: Fix formatting of the crash messages in signal/exception handler
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 ae0cf6e1bb0..15be12b50ec 100644 --- a/sql/signal_handler.cc +++ b/sql/signal_handler.cc @@ -72,7 +72,7 @@ extern "C" sig_handler handle_fatal_signal(int sig) curr_time= my_time(0); localtime_r(&curr_time, &tm); - my_safe_printf_stderr("%02d%02d%02d %2d:%02d:%02d ", + fprintf(stderr, "%02d%02d%02d %2d:%02d:%02d ", tm.tm_year % 100, tm.tm_mon+1, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec); if (opt_expect_abort |