From b0aa67c40e38a89b7675eeb07c8ce354b811f1e4 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 2 May 2014 15:14:17 +0000 Subject: [PATCH] * fhandler_dsp.cc (ioctl): Use _ioctl for recursive call. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/fhandler_dsp.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 383c252fd..c0ea6b997 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2014-05-02 Christopher Faylor + + * fhandler_dsp.cc (ioctl): Use _ioctl for recursive call. + 2014-04-26 Christopher Faylor * DevNotes: Add entry cgf-000026. 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; }