Date: Thu, 23 Aug 2001 05:21:13 -0700 (PDT) From: Cameron Grant <cg@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm dsp.c Message-ID: <200108231221.f7NCLDU59268@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
cg 2001/08/23 05:21:13 PDT
Modified files:
sys/dev/sound/pcm dsp.c
Log:
handle bogus values passed to SOUND_PCM_WRITE_CHANNELS/SNDCTL_DSP_CHANNELS
ioctls better- if 0 is passed, return the current setting. if 1 or 2 are
passed, behave accordingly. treat values >2 as 2.
PR: kern/29964
Revision Changes Path
1.47 +6 -5 src/sys/dev/sound/pcm/dsp.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108231221.f7NCLDU59268>
