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:17:04 +0300
commit06b95334f8d16d975e3a68f2392599249ca99c93 (patch)
treeed5b0cc97ba4f4a187917f89b15cbcd783e333fb
parentc8b24991115c967abee06ccc78e11532d02cffde (diff)
downloadpostgresql-06b95334f8d16d975e3a68f2392599249ca99c93.tar.gz
postgresql-06b95334f8d16d975e3a68f2392599249ca99c93.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 d7fdfd9e027..d2c34c0620e 100644
--- a/contrib/pgbench/pgbench.c
+++ b/contrib/pgbench/pgbench.c
@@ -1192,7 +1192,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);