qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4825] Add NULL argument to SNDCTL_DSP_NONBLOCK ioctl call


From: malc
Subject: [Qemu-devel] [4825] Add NULL argument to SNDCTL_DSP_NONBLOCK ioctl call
Date: Wed, 02 Jul 2008 18:03:13 +0000

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
===================================================================
--- trunk/audio/ossaudio.c      2008-07-02 16:48:32 UTC (rev 4824)
+++ trunk/audio/ossaudio.c      2008-07-02 18:03:12 UTC (rev 4825)
@@ -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;
     }






reply via email to

[Prev in Thread] Current Thread [Next in Thread]