Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 06b9533

Browse files
committed
Fix Windows build.
I renamed a variable, but missed an #ifdef WIN32 block.
1 parent c8b2499 commit 06b9533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pgbench/pgbench.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ doCustom(TState *thread, CState *st, instr_time *conn_time, FILE *logfile, AggVa
11921192
* anyway
11931193
*/
11941194
fprintf(logfile, "%d %d %.0f %d 0 0",
1195-
st->id, st->cnt, usec, st->use_file);
1195+
st->id, st->cnt, latency, st->use_file);
11961196
#endif
11971197
if (throttle_delay)
11981198
fprintf(logfile, " %.0f", lag);

0 commit comments

Comments
 (0)