diff options
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r-- | sys/net/bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 874fcb6..68e5308 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -990,7 +990,7 @@ bpfpoll(dev, events, td) if (d->bd_hlen != 0 || (d->bd_immediate && d->bd_slen != 0)) revents |= events & (POLLIN | POLLRDNORM); else - selrecord(curthread, &d->bd_sel); + selrecord(td, &d->bd_sel); } BPFD_UNLOCK(d); return (revents); |