aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-12-01 23:48:09 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-12-01 23:48:09 +0000
commit92915f5044c33c277eb9e759c7553e076623de85 (patch)
treeb6ba6a01062c4e146b0d2229b1e33886a70e55d1 /sys/dev/sio
parentfa1f0e90fb5a071f141b5830814915c5aa64aaaf (diff)
Notes
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 13db8749eedc2..e75085a99dbda 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.59 1994/11/01 23:09:29 bde Exp $
+ * $Id: sio.c,v 1.60 1994/11/06 00:23:45 bde Exp $
*/
#include "sio.h"
@@ -899,6 +899,7 @@ sioclose(dev, flag, mode, p)
int mynor;
int s;
struct tty *tp;
+ void endtsleep __P((void *));
mynor = minor(dev);
if (mynor & CONTROL_MASK)
@@ -906,9 +907,9 @@ sioclose(dev, flag, mode, p)
com = com_addr(MINOR_TO_UNIT(mynor));
tp = com->tp;
s = spltty();
- timeout(wakeup, TSA_OCOMPLETE(tp), 60 * hz);
+ timeout(endtsleep, (void *)p, 60 * hz);
(*linesw[tp->t_line].l_close)(tp, flag);
- untimeout(wakeup, TSA_OCOMPLETE(tp));
+ untimeout(endtsleep, (void *)p);
siostop(tp, FREAD | FWRITE);
comhardclose(com);
ttyclose(tp);