1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Make getpid() use %d consistently for printing.

This commit is contained in:
Bruce Momjian
2004-10-09 02:46:42 +00:00
parent b3723aeb1f
commit 67608a393b
4 changed files with 13 additions and 17 deletions

View File

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.22 2004/08/29 05:06:59 momjian Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.23 2004/10/09 02:46:42 momjian Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
@ -253,7 +253,7 @@ ECPGlog(const char *format,...)
return;
}
sprintf(f, "[%d]: %s", (int) getpid(), format);
sprintf(f, "[%d]: %s", getpid(), format);
va_start(ap, format);
vfprintf(debugstream, f, ap);