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 4c2752e..d81125b 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -1124,7 +1124,7 @@ chn_buildfeeder(struct pcm_channel *c)
} else {
if (c->direction == PCMDIR_REC) {
tmp[0] = c->format;
- tmp[1] = NULL;
+ tmp[1] = 0;
hwfmt = chn_fmtchain(c, tmp);
} else {
hwfmt = chn_fmtchain(c, chn_getcaps(c)->fmtlist);
OpenPOWER on IntegriCloud