$NetBSD: patch-am,v 1.1.1.1 2007/07/31 18:18:57 noud4 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;
     }
