[PEFIXUP] Use vfprintf() with the va_args list. (#3598)

This commit is contained in:
Hermès Bélusca-Maïto 2021-04-10 20:05:18 +02:00
parent abd4c818dc
commit 7ad33940c2
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -57,7 +57,7 @@ static void error(const char* message, ...)
fprintf(stderr, "%s ERROR: '%s': ", g_ApplicationName, g_Target);
va_start(args, message);
fprintf(stderr, message, args);
vfprintf(stderr, message, args);
va_end(args);
}