diff options
Diffstat (limited to 'sys/fs/fifofs')
-rw-r--r-- | sys/fs/fifofs/fifo_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index 3699f96..8153670 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/fifofs/fifo_vnops.c @@ -176,7 +176,7 @@ fifo_open(ap) MALLOC(fip, struct fifoinfo *, sizeof(*fip), M_VNODE, M_WAITOK); vp->v_fifoinfo = fip; error = socreate(AF_LOCAL, &rso, SOCK_STREAM, 0, - ap->a_td->td_proc->p_ucred, ap->a_td); + ap->a_td->td_ucred, ap->a_td); if (error) { free(fip, M_VNODE); vp->v_fifoinfo = NULL; @@ -184,7 +184,7 @@ fifo_open(ap) } fip->fi_readsock = rso; error = socreate(AF_LOCAL, &wso, SOCK_STREAM, 0, - ap->a_td->td_proc->p_ucred, ap->a_td); + ap->a_td->td_ucred, ap->a_td); if (error) { (void)soclose(rso); free(fip, M_VNODE); |