summaryrefslogtreecommitdiff
path: root/sql/signal_handler.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-03-21 19:15:29 +0100
committerSergei Golubchik <sergii@pisem.net>2012-03-21 19:15:29 +0100
commite6c213897d8bd39df7b8734afeabf25eca9f4e5f (patch)
tree7d5ea0d4e505561ace06c6bc1ef774581d1096b8 /sql/signal_handler.cc
parent3920d978192ddf531d323168460cc7565236bd3c (diff)
parentc88e2679c60f56719b6d347c30374e69ffd3d5c4 (diff)
downloadmariadb-git-e6c213897d8bd39df7b8734afeabf25eca9f4e5f.tar.gz
merge
Diffstat (limited to 'sql/signal_handler.cc')
-rw-r--r--sql/signal_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc
index d58c28c2936..819b87e3fdc 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);
- fprintf(stderr, "%02d%02d%02d %2d:%02d:%02d ",
+ my_safe_printf_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