Skip to content

Commit ba24de1

Browse files
committed
Add missing format argument to ecpg_log() call
1 parent 6e7a3c3 commit ba24de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/ecpg/ecpglib/execute.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1676,7 +1676,7 @@ ecpg_execute(struct statement * stmt)
16761676
if (PQresultStatus(results) == PGRES_COMMAND_OK)
16771677
ecpg_log("ecpg_execute on line %d: got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno);
16781678
else
1679-
ecpg_log("ecpg_execute on line %d: got error after PGRES_COPY_OUT: %s", PQresultErrorMessage(results));
1679+
ecpg_log("ecpg_execute on line %d: got error after PGRES_COPY_OUT: %s", stmt->lineno, PQresultErrorMessage(results));
16801680
}
16811681
break;
16821682
}

0 commit comments

Comments
 (0)