Skip to content

Commit 01a2bfd

Browse files
committed
Fix Windows build.
I renamed a variable, but missed an #ifdef WIN32 block.
1 parent 0ed4152 commit 01a2bfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pgbench/pgbench.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ doCustom(TState *thread, CState *st, instr_time *conn_time, FILE *logfile, AggVa
12681268
* anyway
12691269
*/
12701270
fprintf(logfile, "%d %d %.0f %d 0 0",
1271-
st->id, st->cnt, usec, st->use_file);
1271+
st->id, st->cnt, latency, st->use_file);
12721272
#endif
12731273
if (throttle_delay)
12741274
fprintf(logfile, " %.0f", lag);

0 commit comments

Comments
 (0)