Files
2013-09-26 17:14:40 +02:00

14 lines
433 B
Plaintext

$NetBSD: patch-at,v 1.1.1.1 2007/06/14 19:42:12 bouyer Exp $
--- ioemu/audio/ossaudio.c.orig 2006-10-04 04:28:03.000000000 +0200
+++ ioemu/audio/ossaudio.c 2006-10-18 17:43:53.000000000 +0200
@@ -231,7 +231,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;
}