aboutsummaryrefslogtreecommitdiff
path: root/seatd/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'seatd/client.c')
-rw-r--r--seatd/client.c2
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