1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 12:34:27 +00:00

va_copy is meant to be matched by a va_end in log_generic.

This commit is contained in:
Con Kolivas 2013-04-29 00:47:58 +10:00
parent d3d90e65fa
commit 8971c56b8d

View File

@ -105,6 +105,7 @@ static void log_generic(int prio, const char *fmt, va_list ap)
va_copy(apc, ap);
vfprintf(stderr, f, apc); /* atomic write to stderr */
va_end(apc);
fflush(stderr);
}