Typo fix.

This commit is contained in:
Tom Lane 2011-06-02 13:36:48 -04:00
parent b8be5431a2
commit dd2ddfb1cd
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ getpeereid(int sock, uid_t *uid, gid_t *gid)
*gid = ucred_getegid(ucred);
ucred_free(ucred);
if (*uid == (pid_t)(-1) || *gid == (gid_t)(-1))
if (*uid == (uid_t)(-1) || *gid == (gid_t)(-1))
return -1;
return 0;
#else