diff options
author | phk <phk@FreeBSD.org> | 2004-01-17 10:37:11 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-01-17 10:37:11 +0000 |
commit | 756ba78a920fb35b9c7d4d2bbdc0422e55f17673 (patch) | |
tree | 25148bfa1e9a15eb76a843b1a772991f476fbe79 /sys/dev/sound/pcm/vchan.c | |
parent | 0bdb9e022017015ce285eea59bf776562406559b (diff) | |
download | FreeBSD-src-756ba78a920fb35b9c7d4d2bbdc0422e55f17673.zip FreeBSD-src-756ba78a920fb35b9c7d4d2bbdc0422e55f17673.tar.gz |
As previously announced: discontinue use of makedev() call in soundcode.
This takes us a lot closer to refcounting dev_t.
This patch originally by cg@ with a few minor changes by me.
It is largely untested, but has been HEADSUP'ed twice, so presumably
people have not found any issues with it.
Submitted by: cg@
Diffstat (limited to 'sys/dev/sound/pcm/vchan.c')
-rw-r--r-- | sys/dev/sound/pcm/vchan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/vchan.c b/sys/dev/sound/pcm/vchan.c index 484dbf3..4a70a82 100644 --- a/sys/dev/sound/pcm/vchan.c +++ b/sys/dev/sound/pcm/vchan.c @@ -312,7 +312,7 @@ gotch: if (last) parent->flags &= ~CHN_F_BUSY; - /* remove us from our grantparent's channel list */ + /* remove us from our grandparent's channel list */ err = pcm_chn_remove(d, c, !last); if (err) return err; |