$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; }