Add missing format argument to ecpg_log() call

pull/1/head
Peter Eisentraut 14 years ago
parent 86ab71d58d
commit cf15fb5cab
  1. 2
      src/interfaces/ecpg/ecpglib/execute.c

@ -1675,7 +1675,7 @@ ecpg_execute(struct statement * stmt)
if (PQresultStatus(results) == PGRES_COMMAND_OK)
ecpg_log("ecpg_execute on line %d: got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno);
else
ecpg_log("ecpg_execute on line %d: got error after PGRES_COPY_OUT: %s", PQresultErrorMessage(results));
ecpg_log("ecpg_execute on line %d: got error after PGRES_COPY_OUT: %s", stmt->lineno, PQresultErrorMessage(results));
}
break;
}

Loading…
Cancel
Save