Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2014-03-20 06:23:52 +0400
committerChristopher Faylor <me@cgf.cx>2014-03-20 06:23:52 +0400
commit364f6915f8bc897f9916d4eec76f2f7b5880cd85 (patch)
tree76fd7405a7fa7161ed04bde74d7a162ecc703a9c /winsup/cygwin/fhandler_dsp.cc
parent71f36ed3c24eb792512e4220e228daa8e67c420a (diff)
* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Actually pass ioctl argument to
_ioctl.
Diffstat (limited to 'winsup/cygwin/fhandler_dsp.cc')
-rw-r--r--winsup/cygwin/fhandler_dsp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_dsp.cc b/winsup/cygwin/fhandler_dsp.cc
index 2f5019b2c..af6c2ea07 100644
--- a/winsup/cygwin/fhandler_dsp.cc
+++ b/winsup/cygwin/fhandler_dsp.cc
@@ -1018,9 +1018,9 @@ fhandler_dev_dsp::read (void *ptr, size_t& len)
}
int
-fhandler_dev_dsp::ioctl (unsigned int cmd, void *)
+fhandler_dev_dsp::ioctl (unsigned int cmd, void *buf)
{
- return base ()->_ioctl (cmd, NULL);
+ return base ()->_ioctl (cmd, buf);
}
void