From 01a2bfd172b21ce86894bfa00f6896f504607ab4 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 11 Sep 2014 15:15:40 +0300 Subject: [PATCH] Fix Windows build. I renamed a variable, but missed an #ifdef WIN32 block. --- contrib/pgbench/pgbench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c index 4001a98f34..087e0d37fb 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);