diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2002-08-20 02:17:59 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2002-08-20 02:17:59 +0000 |
| commit | b4edfededd3020c1354f7af9f0231d9fc0ae40bf (patch) | |
| tree | 76cf3d9d4704df787c3e79975ac246c9a1072075 /sys/fs | |
| parent | 353450fbbe2f7ee845e1548431a7122ef9cc9bf9 (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/fifofs/fifo_vnops.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index 9a674fc01ceac..74592233298cb 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/fifofs/fifo_vnops.c @@ -493,9 +493,10 @@ fifo_poll(ap) events = ap->a_events & (POLLOUT | POLLWRNORM | POLLWRBAND); if (events) { filetmp.f_data = (caddr_t)ap->a_vp->v_fifoinfo->fi_writesock; + filetmp.f_cred = ap->a_cred; if (filetmp.f_data) - revents |= soo_poll(&filetmp, events, ap->a_cred, - ap->a_td); + revents |= soo_poll(&filetmp, events, + ap->a_td->td_ucred, ap->a_td); } return (revents); } |
