Fix bug in recent commit - fcntl(... O_ASYNC) on tty's got broke.
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 May 2009 19:08:46 +0000 (12:08 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 May 2009 19:08:46 +0000 (12:08 -0700)
commite8cdd28453ef18059e4de4426ee358e9a1ec3f7d
tree1b3a10fcf1c54f782c115e49c7387dfcec7d9b8b
parent27334e4f2227dccd676dad56c4138c8f9144a9cb
Fix bug in recent commit - fcntl(... O_ASYNC) on tty's got broke.

The pass-through fo_ioctl() call was being used with the old async state
instead of the new one.  This primarily effects tty's as most other devices
just use the async state stored in the file pointer.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
sys/kern/kern_descrip.c