Add missing format argument to ecpg_log() call

This commit is contained in:
Peter Eisentraut 2011-09-08 22:09:08 +03:00
parent eb9a98b6e2
commit 33e111f225
1 changed files with 1 additions and 1 deletions

View File

@ -1357,7 +1357,7 @@ ECPGexecute(struct statement * stmt)
if (PQresultStatus(results) == PGRES_COMMAND_OK)
ECPGlog("ECPGexecute line %d: Got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno);
else
ECPGlog("ECPGexecute line %d: Got error after PGRES_COPY_OUT: %s", PQresultErrorMessage(results));
ECPGlog("ECPGexecute line %d: Got error after PGRES_COPY_OUT: %s", stmt->lineno, PQresultErrorMessage(results));
}
break;
}