aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/random/randomdev.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-09-21 22:46:54 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-09-21 22:46:54 +0000
commited01445d8fef7073d654de0f4ef50405221591e2 (patch)
tree057f0cd831e7571064316d6cd028a7bac4d0448f /sys/dev/random/randomdev.c
parentbce94723a476f60db891598165cfe3faf4675aa0 (diff)
Notes
Diffstat (limited to 'sys/dev/random/randomdev.c')
-rw-r--r--sys/dev/random/randomdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/randomdev.c b/sys/dev/random/randomdev.c
index 868d72fe0110..a0bd578c76c9 100644
--- a/sys/dev/random/randomdev.c
+++ b/sys/dev/random/randomdev.c
@@ -224,7 +224,7 @@ random_poll(dev_t dev, int events, struct thread *td)
if (random_systat.seeded)
revents = events & (POLLIN | POLLRDNORM);
else
- selrecord(curthread, &random_systat.rsel);
+ selrecord(td, &random_systat.rsel);
}
return revents;
}