Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitca66b23

Browse files
committed
Fix SO_PEERCRED printf bug added with SCM_CREDS cleanup.
1 parentfe78644 commitca66b23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/libpq/hba.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.65 2001/08/2100:33:27 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.66 2001/08/2114:48:19 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -892,7 +892,7 @@ ident_unix(int sock, char *ident_user)
892892
if (pass==NULL)
893893
{
894894
snprintf(PQerrormsg,PQERRORMSG_LENGTH,
895-
"ident_unix: unknown local user with uid %d\n",
895+
"ident_unix: unknown local user with uid %d\n",peercred.uid);
896896
fputs(PQerrormsg,stderr);
897897
pqdebug("%s",PQerrormsg);
898898
return false;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp