diff options
author | Daniel Black <daniel@linux.ibm.com> | 2018-05-21 10:42:44 +1000 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-01-17 01:13:47 +0400 |
commit | 19a7656fb12bfae7472658056f400bb81ab99c2f (patch) | |
tree | 453da737897789283f86358e566a4d846f20731e /mysys | |
parent | db469b6907a02b1441b16eac1d464673f48f9ef4 (diff) | |
download | mariadb-git-19a7656fb12bfae7472658056f400bb81ab99c2f.tar.gz |
safemalloc: warn, flush after fprintf
Corrects 94d722b6a43b86ee760f07915921cf58f9869a5d
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/safemalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c index 5d19647c989..08e43d0a80a 100644 --- a/mysys/safemalloc.c +++ b/mysys/safemalloc.c @@ -282,8 +282,8 @@ static void warn(const char *format,...) va_list args; DBUG_PRINT("error", ("%s", format)); va_start(args,format); - fflush(stderr); vfprintf(stderr, format, args); + fflush(stderr); va_end(args); #ifdef HAVE_BACKTRACE |