diff options
Diffstat (limited to 'sys/net/if_tun.c')
-rw-r--r-- | sys/net/if_tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 92bf7f6..20f7437 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -809,7 +809,7 @@ tunpoll(dev_t dev, int events, struct thread *td) } else { TUNDEBUG("%s%d: tunpoll waiting\n", ifp->if_name, ifp->if_unit); - selrecord(curthread, &tp->tun_rsel); + selrecord(td, &tp->tun_rsel); } } if (events & (POLLOUT | POLLWRNORM)) |