summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2002-08-22 21:24:01 +0000
committerarchie <archie@FreeBSD.org>2002-08-22 21:24:01 +0000
commit7a233d4c9f8562bf331fa9b7d4d1f649521fb602 (patch)
tree2fc5ad56a57cb03d56c0aa0af0f4c9ba2c7bb631 /sys/dev/sound
parent7995682a2f9ee27c40a0794821e01853508b55c3 (diff)
downloadFreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.zip
FreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.tar.gz
Replace (ab)uses of "NULL" where "0" is really meant.
Diffstat (limited to 'sys/dev/sound')
-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