summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/snd/sound.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-09-21 03:20:36 +0000
committerpeter <peter@FreeBSD.org>1997-09-21 03:20:36 +0000
commitc7db62b5bf34296dc498bc7cb89fd3e4d88c2875 (patch)
tree2732d10d325d3a60d5ce257d6d5768db32bbb811 /sys/i386/isa/snd/sound.c
parent0a5b22bdab36709f0deb563f46e28530ad02ebcd (diff)
downloadFreeBSD-src-c7db62b5bf34296dc498bc7cb89fd3e4d88c2875.zip
FreeBSD-src-c7db62b5bf34296dc498bc7cb89fd3e4d88c2875.tar.gz
Accept FIOASYNC (like the old sound driver) since it's generated by
kern_descrip.c when the user does an fcntl(.., F_SETFL, ...).
Diffstat (limited to 'sys/i386/isa/snd/sound.c')
-rw-r--r--sys/i386/isa/snd/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c
index 844f760..1ed61ef 100644
--- a/sys/i386/isa/snd/sound.c
+++ b/sys/i386/isa/snd/sound.c
@@ -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 :
OpenPOWER on IntegriCloud