From: Heikki Linnakangas Date: Thu, 11 Sep 2014 12:15:40 +0000 (+0300) Subject: Fix Windows build. X-Git-Tag: REL9_4_BETA3~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06b95334f8d16d975e3a68f2392599249ca99c93;p=postgresql Fix Windows build. I renamed a variable, but missed an #ifdef WIN32 block. --- diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c index d7fdfd9e02..d2c34c0620 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);