aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-09-11 15:15:40 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-09-11 15:15:40 +0300
commit01a2bfd172b21ce86894bfa00f6896f504607ab4 (patch)
tree656ef60841b450b5947f31757e9789b86425c87c
parent0ed41529f6ab92b836336fdd096f924838eea1d7 (diff)
downloadpostgresql-01a2bfd172b21ce86894bfa00f6896f504607ab4.tar.gz
postgresql-01a2bfd172b21ce86894bfa00f6896f504607ab4.zip
Fix Windows build.
I renamed a variable, but missed an #ifdef WIN32 block.
-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);