Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KE6gI-0000BH-Ul for qemu-devel@nongnu.org; Wed, 02 Jul 2008 14:03:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KE6gI-0000AR-7H for qemu-devel@nongnu.org; Wed, 02 Jul 2008 14:03:50 -0400 Received: from [199.232.76.173] (port=59860 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KE6gI-0000AO-4W for qemu-devel@nongnu.org; Wed, 02 Jul 2008 14:03:50 -0400 Received: from savannah.gnu.org ([199.232.41.3]:34092 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KE6gH-00052r-QT for qemu-devel@nongnu.org; Wed, 02 Jul 2008 14:03:49 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KE6fh-0002rK-8R for qemu-devel@nongnu.org; Wed, 02 Jul 2008 18:03:13 +0000 Received: from malc by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KE6fg-0002r7-Vj for qemu-devel@nongnu.org; Wed, 02 Jul 2008 18:03:13 +0000 MIME-Version: 1.0 Errors-To: malc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: malc Message-Id: Date: Wed, 02 Jul 2008 18:03:13 +0000 Subject: [Qemu-devel] [4825] Add NULL argument to SNDCTL_DSP_NONBLOCK ioctl call Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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; }