summaryrefslogtreecommitdiff
path: root/contrib/pgbench/pgbench.c
diff options
context:
space:
mode:
authorHeikki Linnakangas2014-09-11 12:15:40 +0000
committerHeikki Linnakangas2014-09-11 12:15:40 +0000
commit01a2bfd172b21ce86894bfa00f6896f504607ab4 (patch)
tree656ef60841b450b5947f31757e9789b86425c87c /contrib/pgbench/pgbench.c
parent0ed41529f6ab92b836336fdd096f924838eea1d7 (diff)
Fix Windows build.
I renamed a variable, but missed an #ifdef WIN32 block.
Diffstat (limited to 'contrib/pgbench/pgbench.c')
-rw-r--r--contrib/pgbench/pgbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c
index 4001a98f349..087e0d37fb6 100644
--- a/contrib/pgbench/pgbench.c
+++ b/contrib/pgbench/pgbench.c
@@ -1268,7 +1268,7 @@ top:
* anyway
*/
fprintf(logfile, "%d %d %.0f %d 0 0",
- st->id, st->cnt, usec, st->use_file);
+ st->id, st->cnt, latency, st->use_file);
#endif
if (throttle_delay)
fprintf(logfile, " %.0f", lag);