From: Alvaro Herrera Date: Thu, 7 Jan 2016 23:32:14 +0000 (-0300) Subject: Fix order of arguments to va_start() X-Git-Tag: REL9_6_BETA1~885 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f81c966d2095fdab70a5d81ceb6dd9c89f4acd87;p=postgresql Fix order of arguments to va_start() --- diff --git a/src/port/win32security.c b/src/port/win32security.c index 66796e0e28..d3eba9a20b 100644 --- a/src/port/win32security.c +++ b/src/port/win32security.c @@ -34,7 +34,7 @@ log_error(const char *fmt,...) { va_list ap; - va_start(fmt, ap); + va_start(ap, fmt); #ifndef FRONTEND write_stderr(fmt, ap); #else