projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11b8dc
)
Fix possible portability problem, per buildfarm warnings.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 15 Jul 2007 22:34:26 +0000
(22:34 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 15 Jul 2007 22:34:26 +0000
(22:34 +0000)
contrib/pgbench/pgbench.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgbench/pgbench.c
b/contrib/pgbench/pgbench.c
index ae8bfaa167f8acd0f8800bc6d6e4ab87d6e28308..f682644f56ce8c715d046bbe586e247cc868a3fc 100644
(file)
--- a/
contrib/pgbench/pgbench.c
+++ b/
contrib/pgbench/pgbench.c
@@
-1,5
+1,5
@@
/*
- * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.6
8 2007/07/06 20:17:02 wieck
Exp $
+ * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.6
9 2007/07/15 22:34:26 tgl
Exp $
*
* pgbench: a simple benchmark program for PostgreSQL
* written by Tatsuo Ishii
@@
-1442,7
+1442,7
@@
main(int argc, char **argv)
{
char logpath[64];
- snprintf(logpath, 64, "pgbench_log.%d", getpid());
+ snprintf(logpath, 64, "pgbench_log.%d",
(int)
getpid());
LOGFILE = fopen(logpath, "w");
if (LOGFILE == NULL)