diff options
| -rw-r--r-- | sys/kern/tty_pty.c | 4 |
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); |
