summaryrefslogtreecommitdiffstats
path: root/sys/coda/coda_psdev.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-09-21 22:26:51 +0000
committerjhb <jhb@FreeBSD.org>2001-09-21 22:26:51 +0000
commit5954be75cafd9af8c37554c9128a4910deb3f77e (patch)
tree8c7255e4b16b79e57dbe9630df731588dc301908 /sys/coda/coda_psdev.c
parentd125564db20cb6d3532e714e2375492ca45ff873 (diff)
downloadFreeBSD-src-5954be75cafd9af8c37554c9128a4910deb3f77e.zip
FreeBSD-src-5954be75cafd9af8c37554c9128a4910deb3f77e.tar.gz
Use the passed in thread to selrecord() instead of curthread.
Diffstat (limited to 'sys/coda/coda_psdev.c')
-rw-r--r--sys/coda/coda_psdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/coda/coda_psdev.c b/sys/coda/coda_psdev.c
index 2346c7c..49d9fd0 100644
--- a/sys/coda/coda_psdev.c
+++ b/sys/coda/coda_psdev.c
@@ -463,7 +463,7 @@ vc_nb_poll(dev, events, td)
if (!EMPTY(vcp->vc_requests))
return(events & (POLLIN|POLLRDNORM));
- selrecord(curthread, &(vcp->vc_selproc));
+ selrecord(td, &(vcp->vc_selproc));
return(0);
}
OpenPOWER on IntegriCloud