Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/fgen fix typos in comments.



details:   https://anonhg.NetBSD.org/src/rev/05e577f89f29
branches:  trunk
changeset: 359704:05e577f89f29
user:      andvar <andvar%NetBSD.org@localhost>
date:      Mon Jan 17 20:38:49 2022 +0000

description:
fix typos in comments.

diffstat:

 sys/arch/amiga/dev/fd.c |  12 ++++++------
 usr.bin/fgen/fgen.l     |   6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (82 lines):

diff -r 08022b4106af -r 05e577f89f29 sys/arch/amiga/dev/fd.c
--- a/sys/arch/amiga/dev/fd.c   Mon Jan 17 20:10:37 2022 +0000
+++ b/sys/arch/amiga/dev/fd.c   Mon Jan 17 20:38:49 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.100 2021/08/17 22:00:27 andvar Exp $ */
+/*     $NetBSD: fd.c,v 1.101 2022/01/17 20:38:49 andvar Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.100 2021/08/17 22:00:27 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.101 2022/01/17 20:38:49 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -84,7 +84,7 @@
 #define FDSECLWORDS    (128)
 
 #define FDSETTLEDELAY  (18000) /* usec delay after seeking after switch dir */
-#define FDSTEPDELAY    (3500)  /* usec delay after steping */
+#define FDSTEPDELAY    (3500)  /* usec delay after stepping */
 #define FDPRESIDEDELAY (1000)  /* usec delay before writing can occur */
 #define FDWRITEDELAY   (1300)  /* usec delay after write */
 
@@ -230,7 +230,7 @@
  * read size is (nsectors + 1) * mfm secsize + gap bytes + 2 shorts
  * write size is nsectors * mfm secsize + gap bytes + 3 shorts
  * the extra shorts are to deal with a DMA hw bug in the controller
- * they are probably too much (I belive the bug is 1 short on write and
+ * they are probably too much (I believe the bug is 1 short on write and
  * 3 bits on read) but there is no need to be cheap here.
  */
 #define MAXTRKSZ (22 * FDSECSIZE)
@@ -877,7 +877,7 @@
        /*
         * make sure selected partition is within bounds
         * XXX on the second check, its to handle a bug in
-        * XXX the cluster routines as they require mutliples
+        * XXX the cluster routines as they require multiples
         * XXX of PAGE_SIZE currently
         */
        if ((pp->p_offset + pp->p_size >= lp->d_secperunit) ||
@@ -1162,7 +1162,7 @@
 
 /*
  * process next buf on device queue.
- * normall sequence of events:
+ * normal sequence of events:
  * fdstart() -> fddmastart();
  * fdidxintr();
  * fdintr() -> fddmadone() -> fddone();
diff -r 08022b4106af -r 05e577f89f29 usr.bin/fgen/fgen.l
--- a/usr.bin/fgen/fgen.l       Mon Jan 17 20:10:37 2022 +0000
+++ b/usr.bin/fgen/fgen.l       Mon Jan 17 20:38:49 2022 +0000
@@ -1,5 +1,5 @@
 %{
-/*     $NetBSD: fgen.l,v 1.39 2021/12/05 03:13:50 msaitoh Exp $        */
+/*     $NetBSD: fgen.l,v 1.40 2022/01/17 20:38:49 andvar Exp $ */
 /* FLEX input for FORTH input file scanner */
 /*  
  * Copyright (c) 1998 Eduardo Horvath.
@@ -42,7 +42,7 @@
 #endif
 
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: fgen.l,v 1.39 2021/12/05 03:13:50 msaitoh Exp $");
+__RCSID("$NetBSD: fgen.l,v 1.40 2022/01/17 20:38:49 andvar Exp $");
 #endif
 
 %}
@@ -1071,7 +1071,7 @@
 
 /*
  * Tokenize one file.  This is a separate function so it can
- * be called recursively to parse mutliple levels of include files.
+ * be called recursively to parse multiple levels of include files.
  */
 
 static void



Home | Main Index | Thread Index | Old Index