X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Futil.c;h=4733ba335644507b1cbd1039a6f8c0cb84290350;hp=30f2296bb5a251c74baff71b2374dea7ca86fc2f;hb=87836fae536b056cde1e84904a63ace9f8b7f707;hpb=1770f3592215549707de3c5f2a1c4858e50b17ba;ds=sidebyside diff --git a/src/util.c b/src/util.c index 30f2296b..4733ba33 100644 --- a/src/util.c +++ b/src/util.c @@ -158,6 +158,7 @@ wimlib_vmsg(const tchar *tag, const tchar *format, tfprintf(stderr, T(": %"TS), buf); } tputc(T('\n'), stderr); + fflush(stderr); errno = errno_save; #ifndef DEBUG } @@ -217,7 +218,6 @@ wimlib_warning_with_errno(const tchar *format, ...) void wimlib_debug(const tchar *file, int line, const char *func, const tchar *format, ...) { - va_list va; tchar buf[tstrlen(file) + strlen(func) + 30];