[4825] Add NULL argument to SNDCTL_DSP_NONBLOCK ioctl call
Revision: 4825
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4825 Author: malc Date: 2008-07-02 18:03:12 +0000 (Wed, 02 Jul 2008)
Log Message:
-----------
Add NULL argument to SNDCTL_DSP_NONBLOCK ioctl call
Comes from here:
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/qemu/patches/patch-am?rev=1.2&content-type=text/x-cvsweb-markup
http://manuals.opensound.com/developer/SNDCTL_DSP_NONBLOCK.html
No explanation for NULL given.
Modified Paths:
--------------
trunk/audio/ossaudio.c
Modified: trunk/audio/ossaudio.c
===================================================================
audio/ossaudio.c +1 -1
@@ -237,7 +237,7 @@ goto err; } -if (ioctl (fd,SNDCTL_DSP_NONBLOCK )) { +if (ioctl (fd,SNDCTL_DSP_NONBLOCK ,NULL )) {oss_logerr2 (errno, typ,"Failed to set non-blocking mode\n" ); goto err; }