This commit is contained in:
Omar Polo 2024-06-14 12:43:01 +00:00
parent 23ea79cec6
commit 77cf3acfad
1 changed files with 1 additions and 2 deletions

3
proc.c
View File

@ -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__);