Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/dev Fix typo.



details:   https://anonhg.NetBSD.org/src/rev/5e16d3445a8f
branches:  trunk
changeset: 484116:5e16d3445a8f
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Sun Mar 26 08:29:12 2000 +0000

description:
Fix typo.

diffstat:

 sys/arch/macppc/dev/z8530tty.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5e025e3f2e52 -r 5e16d3445a8f sys/arch/macppc/dev/z8530tty.c
--- a/sys/arch/macppc/dev/z8530tty.c    Sun Mar 26 07:52:58 2000 +0000
+++ b/sys/arch/macppc/dev/z8530tty.c    Sun Mar 26 08:29:12 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: z8530tty.c,v 1.5 2000/03/23 06:40:34 thorpej Exp $     */
+/*     $NetBSD: z8530tty.c,v 1.6 2000/03/26 08:29:12 tsubai Exp $      */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999
@@ -1347,7 +1347,7 @@
        if (cc == zstty_rbuf_size) {
                zst->zst_floods++;
                if (zst->zst_errors++ == 0)
-                       callout_start(&zst->zst_diag_ch, 60 * hz,
+                       callout_reset(&zst->zst_diag_ch, 60 * hz,
                            zstty_diag, zst);
        }
 
@@ -1358,7 +1358,7 @@
                        if (ISSET(rr1, ZSRR1_DO)) {
                                zst->zst_overflows++;
                                if (zst->zst_errors++ == 0)
-                                       callout_start(&zst->zst_diag_ch,
+                                       callout_reset(&zst->zst_diag_ch,
                                            60 * hz, zstty_diag, zst);
                        }
                        if (ISSET(rr1, ZSRR1_FE))



Home | Main Index | Thread Index | Old Index