summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-09-21 22:22:25 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-09-21 22:22:25 +0000
commit456ca585dbb566731531babf1679d77aeafa959b (patch)
treee1730c7830eb6d3a1f1eeaed3ec697eb8bd70c14
parentf0a538a58756e46abb8c4d50ca13550ae8e59d45 (diff)
Notes
-rw-r--r--sys/kern/tty_pty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index 68e93a995e1a..a01d04e26cf7 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -513,10 +513,10 @@ ptcpoll(dev, events, td)
if (revents == 0) {
if (events & (POLLIN | POLLRDNORM))
- selrecord(curthread, &pti->pt_selr);
+ selrecord(td, &pti->pt_selr);
if (events & (POLLOUT | POLLWRNORM))
- selrecord(curthread, &pti->pt_selw);
+ selrecord(td, &pti->pt_selw);
}
splx(s);