summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pcm/channel.c')
-rw-r--r--sys/dev/sound/pcm/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
index dd562c1..c21076c 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -530,7 +530,7 @@ chn_poll(struct pcm_channel *c, int ev, struct thread *td)
if (chn_polltrigger(c) && chn_pollreset(c))
ret = ev;
else
- selrecord(curthread, sndbuf_getsel(bs));
+ selrecord(td, sndbuf_getsel(bs));
return ret;
}
OpenPOWER on IntegriCloud