Fix order of arguments to va_start()

This commit is contained in:
Alvaro Herrera 2016-01-07 20:32:14 -03:00
parent b41fb65056
commit f81c966d20
1 changed files with 1 additions and 1 deletions

View File

@ -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