diff options
author | unknown <msvensson@neptunus.(none)> | 2006-12-06 22:03:56 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-12-06 22:03:56 +0100 |
commit | ca7ee3755f3019be56d4af4fde7cfeec85b5c75e (patch) | |
tree | 188a5a6a3ddd623619ae1279f60ce73948ab8d82 /mysys | |
parent | c0efc717808caaefc0c1cc89ca3feabe6e1b6c8e (diff) | |
download | mariadb-git-ca7ee3755f3019be56d4af4fde7cfeec85b5c75e.tar.gz |
Flush stderr after print of error message to get predictable output
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_getopt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/my_getopt.c b/mysys/my_getopt.c index 9b62482a404..878e4b5103c 100644 --- a/mysys/my_getopt.c +++ b/mysys/my_getopt.c @@ -70,6 +70,7 @@ static void default_reporter(enum loglevel level, fprintf(stderr, "%s", "Info: "); vfprintf(stderr, format, args); va_end(args); + fflush(stderr); } /* |