Commit 19a7656f authored by Daniel Black's avatar Daniel Black Committed by Sergey Vojtovich

safemalloc: warn, flush after fprintf

Corrects 94d722b6
parent db469b69
...@@ -282,8 +282,8 @@ static void warn(const char *format,...) ...@@ -282,8 +282,8 @@ static void warn(const char *format,...)
va_list args; va_list args;
DBUG_PRINT("error", ("%s", format)); DBUG_PRINT("error", ("%s", format));
va_start(args,format); va_start(args,format);
fflush(stderr);
vfprintf(stderr, format, args); vfprintf(stderr, format, args);
fflush(stderr);
va_end(args); va_end(args);
#ifdef HAVE_BACKTRACE #ifdef HAVE_BACKTRACE
......
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