summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-03-23 17:20:24 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-03-23 17:20:24 +0000
commit84d2a1c7083d4c88b0634e58e1520e91f44dcabc (patch)
treed9221c0ac756fcf97aea5a6ca812703b56dfd178
parent3d3f23b3a7b2db2b3538a68edaf3394b1992b6c4 (diff)
Iiieeek! This kludge was almost funny.
Probably something from the stone age. Kill it.
-rw-r--r--sys/kern/tty.c6
1 files changed, 2 insertions, 4 deletions
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);