diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-12-10 10:07:43 +0100 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-12-10 10:07:43 +0100 |
commit | 3755eea668cf7162ff861df9e8545ea5095792c1 (patch) | |
tree | beb988ce0d9be777ab95d6c5148b2a7e5e9d5f46 /seatd | |
parent | 9b3bdcb12d0dea1cc5b96eefbc083114556df565 (diff) |
client: Fix typo in cr_pid usage
Diffstat (limited to 'seatd')
-rw-r--r-- | seatd/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/seatd/client.c b/seatd/client.c index 162f4ba..a5a11ab 100644 --- a/seatd/client.c +++ b/seatd/client.c @@ -41,7 +41,7 @@ static int get_peer(int fd, pid_t *pid, uid_t *uid, gid_t *gid) { return -1; } #if __FreeBSD_version >= 1300030 - pid = cred.cr_pid; + *pid = cred.cr_pid; #else *pid = -1; #endif |