diff --git a/audio/ossaudio.c b/audio/ossaudio.c index a29b4bc17212827b4574cc329bb98e7dbd918558..613e189db1b6ff8c8aec1f1dd31eb3e2cf43372d 100644 --- a/audio/ossaudio.c +++ b/audio/ossaudio.c @@ -237,7 +237,7 @@ static int oss_open (int in, struct oss_params *req, 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; }