client: Fix typo in cr_pid usage
This commit is contained in:
parent
9b3bdcb12d
commit
3755eea668
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ static int get_peer(int fd, pid_t *pid, uid_t *uid, gid_t *gid) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
#if __FreeBSD_version >= 1300030
|
#if __FreeBSD_version >= 1300030
|
||||||
pid = cred.cr_pid;
|
*pid = cred.cr_pid;
|
||||||
#else
|
#else
|
||||||
*pid = -1;
|
*pid = -1;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue