summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-17 20:08:05 +0000
committerbde <bde@FreeBSD.org>1998-05-17 20:08:05 +0000
commit6bcab2370a34dcdd2610690662c2b209314f04eb (patch)
tree6cacb8996d20268f6daa1312a33902c56e493a96 /sys/kern/tty.c
parent93d053207efe728ba9e248f6d7df271fe9f512ff (diff)
downloadFreeBSD-src-6bcab2370a34dcdd2610690662c2b209314f04eb.zip
FreeBSD-src-6bcab2370a34dcdd2610690662c2b209314f04eb.tar.gz
Fixed stale references to hzto() in comments.
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index fd57c22..56fc183 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -38,7 +38,7 @@ static volatile int ttyverbose = 0;
* SUCH DAMAGE.
*
* @(#)tty.c 8.8 (Berkeley) 1/21/94
- * $Id: tty.c,v 1.101 1998/03/07 15:36:21 bde Exp $
+ * $Id: tty.c,v 1.102 1998/03/30 09:50:54 phk Exp $
*/
/*-
@@ -1539,9 +1539,9 @@ loop:
* of the target, so we round up.
* The formula is ceiling(slp * hz/1000000).
* 32-bit arithmetic is enough for hz < 169.
- * XXX see hzto() for how to avoid overflow if hz
+ * XXX see tvtohz() for how to avoid overflow if hz
* is large (divide by `tick' and/or arrange to
- * use hzto() if hz is large).
+ * use tvtohz() if hz is large).
*/
slp = (long) (((u_long)slp * hz) + 999999) / 1000000;
goto sleep;
OpenPOWER on IntegriCloud