From: art Date: Thu, 23 Mar 2000 17:20:23 +0000 (+0000) Subject: Iiieeek! This kludge was almost funny. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0b37ab9bc6daf28e84da6c16b65f8946baf14dbf;p=openbsd Iiieeek! This kludge was almost funny. Probably something from the stone age. Kill it. --- diff --git a/sys/kern/tty.c b/sys/kern/tty.c index cfe96e217dd..e43024e9108 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.38 1999/11/25 13:41:31 art Exp $ */ +/* $OpenBSD: tty.c,v 1.39 2000/03/23 17:20:23 art Exp $ */ /* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */ /*- @@ -1555,10 +1555,8 @@ ttycheckoutq(tp, wait) splx(s); return (0); } - timeout((void (*)__P((void *)))wakeup, - (void *)&tp->t_outq, hz); SET(tp->t_state, TS_ASLEEP); - tsleep(&tp->t_outq, PZERO - 1, "ttckoutq", 0); + tsleep(&tp->t_outq, PZERO - 1, "ttckoutq", hz); } splx(s); return (1);