-/* $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 $ */
/*-
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);