summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_dsp.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2014-05-02 15:14:17 +0000
committerChristopher Faylor <me@cgf.cx>2014-05-02 15:14:17 +0000
commitb0aa67c40e38a89b7675eeb07c8ce354b811f1e4 (patch)
treec439ca4df3a4c1aa6c912dbd250ad924f9f3cc12 /winsup/cygwin/fhandler_dsp.cc
parent179e25f0df0e8e6703be95ef7efa5819d6f3af7d (diff)
downloadcygnal-b0aa67c40e38a89b7675eeb07c8ce354b811f1e4.tar.gz
cygnal-b0aa67c40e38a89b7675eeb07c8ce354b811f1e4.tar.bz2
cygnal-b0aa67c40e38a89b7675eeb07c8ce354b811f1e4.zip
* fhandler_dsp.cc (ioctl): Use _ioctl for recursive call.
Diffstat (limited to 'winsup/cygwin/fhandler_dsp.cc')
-rw-r--r--winsup/cygwin/fhandler_dsp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_dsp.cc b/winsup/cygwin/fhandler_dsp.cc
index af6c2ea07..b5eaba7be 100644
--- a/winsup/cygwin/fhandler_dsp.cc
+++ b/winsup/cygwin/fhandler_dsp.cc
@@ -1303,7 +1303,7 @@ fhandler_dev_dsp::_ioctl (unsigned int cmd, void *buf)
CASE (SNDCTL_DSP_STEREO)
{
int nChannels = *intbuf + 1;
- int res = ioctl (SNDCTL_DSP_CHANNELS, &nChannels);
+ int res = _ioctl (SNDCTL_DSP_CHANNELS, &nChannels);
*intbuf = nChannels - 1;
return res;
}