summaryrefslogtreecommitdiff
path: root/emulators/qemu/patches/patch-am
blob: af730b644753527be2dddae91eb4838d55b5fa28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-am,v 1.2 2006/01/01 13:48:45 xtraeme Exp $

--- audio/ossaudio.c.orig	2005-12-19 17:51:53.000000000 -0500
+++ audio/ossaudio.c
@@ -229,7 +229,7 @@ static int oss_open (int in, struct oss_
         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;
     }