mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Add 'int' cast for getpid() because some Solaris releases return long
for getpid().
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.432 2004/10/12 21:54:40 petere Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.433 2004/10/14 20:23:45 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@@ -2760,7 +2760,7 @@ BackendRun(Port *port)
|
||||
*/
|
||||
ereport(DEBUG3,
|
||||
(errmsg_internal("%s child[%d]: starting with (",
|
||||
progname, getpid())));
|
||||
progname, (int)getpid())));
|
||||
for (i = 0; i < ac; ++i)
|
||||
ereport(DEBUG3,
|
||||
(errmsg_internal("\t%s", av[i])));
|
||||
|
||||
Reference in New Issue
Block a user