aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-09-21 22:26:51 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-09-21 22:26:51 +0000
commitbce94723a476f60db891598165cfe3faf4675aa0 (patch)
tree8c7255e4b16b79e57dbe9630df731588dc301908 /sys
parent456ca585dbb566731531babf1679d77aeafa959b (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/coda/coda_psdev.c2
-rw-r--r--sys/fs/coda/coda_psdev.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/coda/coda_psdev.c b/sys/coda/coda_psdev.c
index 2346c7cf018cc..49d9fd072e222 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);
}
diff --git a/sys/fs/coda/coda_psdev.c b/sys/fs/coda/coda_psdev.c
index 2346c7cf018cc..49d9fd072e222 100644
--- a/sys/fs/coda/coda_psdev.c
+++ b/sys/fs/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);
}