diff options
author | Dan McDonald <danmcd@joyent.com> | 2022-02-10 11:26:57 -0500 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2022-02-10 11:26:57 -0500 |
commit | 7e22e66027f4e2d648020cd41e098a2b6516a789 (patch) | |
tree | 67546fe833370faf9f7ecbaf36a4681162fd88e7 /usr/src/uts/common/syscall | |
parent | 069d372e51ed082937f2ae1e3fc6022af253b87d (diff) | |
parent | 3df2e8b2fd61f45437285750d2880d6416a9200c (diff) | |
download | illumos-joyent-7e22e66027f4e2d648020cd41e098a2b6516a789.tar.gz |
[illumos-gate merge]
commit 3df2e8b2fd61f45437285750d2880d6416a9200c
14407 unix, genunix partial warning cleanup
commit 23c2e9a7f93c300498401f18385284ef6417fc2c
14470 ctftest looks for the wrong as
Diffstat (limited to 'usr/src/uts/common/syscall')
-rw-r--r-- | usr/src/uts/common/syscall/poll.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/uts/common/syscall/poll.c b/usr/src/uts/common/syscall/poll.c index 2214bacaf8..b66f4f430f 100644 --- a/usr/src/uts/common/syscall/poll.c +++ b/usr/src/uts/common/syscall/poll.c @@ -2860,9 +2860,12 @@ checkpolldat(pollstate_t *ps) refp = &pdp->pd_ref[j]; if (refp->xf_refcnt > 0) { pcsp = &ps->ps_pcacheset[j]; - ASSERT(refp->xf_position < pcsp->pcs_nfds); + ASSERT(refp->xf_position < + pcsp->pcs_nfds); pollfd = pcsp->pcs_pollfd; - ASSERT(pdp->pd_fd == pollfd[refp->xf_position].fd); + ASSERT(pdp->pd_fd == + pollfd[refp->xf_position]. + fd); } } } |