mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 10:44:53 +00:00
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:
parent
1560a9d538
commit
f0a7d5305e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29650
|
@ -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 :
|
||||
|
|
Loading…
Reference in a new issue