diff options
Diffstat (limited to 'sys/dev/sio/sio.c')
| -rw-r--r-- | sys/dev/sio/sio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 6356c83548af..1f359c211b21 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.54 1994/10/12 19:49:11 bde Exp $ + * $Id: sio.c,v 1.55 1994/10/15 18:05:25 ache Exp $ */ #include "sio.h" @@ -876,9 +876,9 @@ sioclose(dev, flag, mode, p) com = com_addr(MINOR_TO_UNIT(mynor)); tp = com->tp; s = spltty(); - timeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq, 60*hz); + timeout(wakeup, TSA_OCOMPLETE(tp), 60 * hz); (*linesw[tp->t_line].l_close)(tp, flag); - untimeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq); + untimeout(wakeup, TSA_OCOMPLETE(tp)); siostop(tp, FREAD | FWRITE); comhardclose(com); ttyclose(tp); |
