Fix SO_PEERCRED printf bug added with SCM_CREDS cleanup.

This commit is contained in:
Bruce Momjian 2001-08-21 14:48:19 +00:00
parent fe786448e7
commit ca66b2370a
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.65 2001/08/21 00:33:27 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.66 2001/08/21 14:48:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -892,7 +892,7 @@ ident_unix(int sock, char *ident_user)
if (pass == NULL)
{
snprintf(PQerrormsg, PQERRORMSG_LENGTH,
"ident_unix: unknown local user with uid %d\n",
"ident_unix: unknown local user with uid %d\n", peercred.uid);
fputs(PQerrormsg, stderr);
pqdebug("%s", PQerrormsg);
return false;