diff options
author | Omar Polo <op@omarpolo.com> | 2024-06-14 12:43:01 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-06-14 12:43:01 +0000 |
commit | 77cf3acfad0581652a5d345d01a69adea3f5ae26 (patch) | |
tree | f1fa817a011a4c46f5911bd01eef51a41bd66b68 /proc.c | |
parent | 23ea79cec6c409d3b98977727b8d5ed857acfd4d (diff) |
style
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -244,8 +244,7 @@ proc_init(struct privsep *ps, struct privsep_proc *procs, unsigned int nproc, for (proc = 0; proc < ps->ps_instances[dst]; proc++) { pa = &ps->ps_pipes[PROC_PARENT][0]; pb = &ps->ps_pipes[dst][proc]; - if (socketpair(AF_UNIX, - SOCK_STREAM, + if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) == -1) fatal("%s: socketpair", __func__); |