Accept FIOASYNC (like the old sound driver) since it's generated by

kern_descrip.c when the user does an fcntl(.., F_SETFL, ...).
This commit is contained in:
Peter Wemm 1997-09-21 03:20:36 +00:00
parent 1560a9d538
commit f0a7d5305e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29650

View file

@ -739,8 +739,8 @@ sndioctl(dev_t i_dev, int cmd, caddr_t arg, int mode, struct proc * p)
*(int *)arg = d->dbuf_in.rl;
break;
case FIOASYNC: /*set/clear async i/o */
printf("FIOASYNC\n");
case FIOASYNC: /* set/clear async i/o */
/* do nothing, this is called from kern_descrip.c for fcntl() */
break;
case SNDCTL_DSP_NONBLOCK :