Revision 902e2b51 audio/ossaudio.c
b/audio/ossaudio.c | ||
---|---|---|
237 | 237 |
goto err; |
238 | 238 |
} |
239 | 239 |
|
240 |
if (ioctl (fd, SNDCTL_DSP_NONBLOCK)) { |
|
240 |
if (ioctl (fd, SNDCTL_DSP_NONBLOCK, NULL)) {
|
|
241 | 241 |
oss_logerr2 (errno, typ, "Failed to set non-blocking mode\n"); |
242 | 242 |
goto err; |
243 | 243 |
} |
Also available in: Unified diff