Iiieeek! This kludge was almost funny.
authorart <art@openbsd.org>
Thu, 23 Mar 2000 17:20:23 +0000 (17:20 +0000)
committerart <art@openbsd.org>
Thu, 23 Mar 2000 17:20:23 +0000 (17:20 +0000)
Probably something from the stone age. Kill it.

sys/kern/tty.c

index cfe96e2..e43024e 100644 (file)
@@ -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);