From f0a7d5305e8ab16b7c392b41ad002f2142ca65f6 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 21 Sep 1997 03:20:36 +0000 Subject: [PATCH] Accept FIOASYNC (like the old sound driver) since it's generated by kern_descrip.c when the user does an fcntl(.., F_SETFL, ...). --- sys/i386/isa/snd/sound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c index 844f7603ba89..1ed61efe042c 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 :