summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_log.c')
-rw-r--r--sys/kern/subr_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c
index 7fa5618..b495a79 100644
--- a/sys/kern/subr_log.c
+++ b/sys/kern/subr_log.c
@@ -178,7 +178,7 @@ logpoll(dev_t dev, int events, struct thread *td)
if (msgbufp->msg_bufr != msgbufp->msg_bufx)
revents |= events & (POLLIN | POLLRDNORM);
else
- selrecord(curthread, &logsoftc.sc_selp);
+ selrecord(td, &logsoftc.sc_selp);
}
splx(s);
return (revents);
OpenPOWER on IntegriCloud