Oops, forgot two lines in last commit.

This commit is contained in:
augustss 1997-08-11 01:54:52 +00:00
parent 67acd09fdc
commit 006a85ea00

View File

@ -1,4 +1,4 @@
/* $NetBSD: ossaudio.c,v 1.18 1997/08/11 01:52:47 augustss Exp $ */ /* $NetBSD: ossaudio.c,v 1.19 1997/08/11 01:54:52 augustss Exp $ */
#include <sys/param.h> #include <sys/param.h>
#include <sys/proc.h> #include <sys/proc.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -362,6 +362,8 @@ oss_ioctl_audio(p, uap, retval)
case OSS_SNDCTL_DSP_NONBLOCK: case OSS_SNDCTL_DSP_NONBLOCK:
idat = 1; idat = 1;
error = ioctlf(fp, FIONBIO, (caddr_t)&idat, p); error = ioctlf(fp, FIONBIO, (caddr_t)&idat, p);
if (error)
return error;
break; break;
case OSS_SNDCTL_DSP_GETCAPS: case OSS_SNDCTL_DSP_GETCAPS:
error = ioctlf(fp, AUDIO_GETPROPS, (caddr_t)&idata, p); error = ioctlf(fp, AUDIO_GETPROPS, (caddr_t)&idata, p);