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:
authorCorinna Vinschen <corinna@vinschen.de>2015-04-09 22:49:36 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-04-23 22:57:13 +0300
commit19dc6ee82cafa7acbbc4aee8db7a6b511025a805 (patch)
treefa52d79f227e73c9fa03b8a938f01508748edba1 /winsup/cygwin/fhandler_dsp.cc
parentcd0d45913525ef09f0494a2f0c8e3d6fe8fface2 (diff)
Call open_null to open fake handle
* fhandler_dsp.cc (fhandler_dev_dsp::open): Call open_null. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
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 b5eaba7be..9fa2c6e03 100644
--- a/winsup/cygwin/fhandler_dsp.cc
+++ b/winsup/cygwin/fhandler_dsp.cc
@@ -1037,7 +1037,7 @@ fhandler_dev_dsp::fixup_after_exec ()
int
-fhandler_dev_dsp::open (int flags, mode_t mode)
+fhandler_dev_dsp::open (int flags, mode_t)
{
int ret = 0, err = 0;
UINT num_in = 0, num_out = 0;
@@ -1068,7 +1068,7 @@ fhandler_dev_dsp::open (int flags, mode_t mode)
if (err)
set_errno (err);
else
- ret = fhandler_base::open (flags, mode);
+ ret = open_null (flags);
debug_printf ("ACCMODE=%y audio_in=%d audio_out=%d, err=%d, ret=%d",
flags & O_ACCMODE, num_in, num_out, err, ret);