diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-20 19:34:41 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-20 19:34:41 +0000 |
commit | 3531acac1b9d17c154fc7f86da00912c64602a5d (patch) | |
tree | 9197a98ea4a75f670203b8cfcc902e8c930ef33e | |
parent | f24eeeec3eb0478e82f8bd8037b7a7d20f12d8a2 (diff) |
Missed one timeout conversion.
-rw-r--r-- | sys/arch/sun3/dev/kd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sun3/dev/kd.c b/sys/arch/sun3/dev/kd.c index a5f1aee358c..d7c19c50d14 100644 --- a/sys/arch/sun3/dev/kd.c +++ b/sys/arch/sun3/dev/kd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kd.c,v 1.9 2001/04/17 04:30:49 aaron Exp $ */ +/* $OpenBSD: kd.c,v 1.10 2001/08/20 19:34:40 miod Exp $ */ /* $NetBSD: kd.c,v 1.21 1996/11/20 18:56:55 gwr Exp $ */ /*- @@ -278,6 +278,7 @@ kdstop(tp, flag) static void kd_later(void*); static void kd_putfb(struct tty *); +static struct timeout kd_timeout; void kdstart(tp) @@ -302,7 +303,8 @@ kdstart(tp) tp->t_state &= ~TS_BUSY; } else { /* called at interrupt level - do it later */ - timeout(kd_later, (void*)tp, 0); + timeout_set(&kd_timeout, kd_later, tp); + timeout_add(&kd_timeout, 0); } } else { /* |