Module Name: src
Committed By: andvar
Date: Mon Jan 17 20:38:49 UTC 2022
Modified Files:
src/sys/arch/amiga/dev: fd.c
src/usr.bin/fgen: fgen.l
Log Message:
fix typos in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/arch/amiga/dev/fd.c
cvs rdiff -u -r1.39 -r1.40 src/usr.bin/fgen/fgen.l
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amiga/dev/fd.c
diff -u src/sys/arch/amiga/dev/fd.c:1.100 src/sys/arch/amiga/dev/fd.c:1.101
--- src/sys/arch/amiga/dev/fd.c:1.100 Tue Aug 17 22:00:27 2021
+++ src/sys/arch/amiga/dev/fd.c Mon Jan 17 20:38:49 2022
@@ -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 @@ bunghole :-) */
#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 @@ u_short *msblkencode(u_short *, u_char *
* 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 @@ fdsetdisklabel(struct fd_softc *sc, stru
/*
* 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 @@ fdselunit(struct fd_softc *sc)
/*
* process next buf on device queue.
- * normall sequence of events:
+ * normal sequence of events:
* fdstart() -> fddmastart();
* fdidxintr();
* fdintr() -> fddmadone() -> fddone();
Index: src/usr.bin/fgen/fgen.l
diff -u src/usr.bin/fgen/fgen.l:1.39 src/usr.bin/fgen/fgen.l:1.40
--- src/usr.bin/fgen/fgen.l:1.39 Sun Dec 5 03:13:50 2021
+++ src/usr.bin/fgen/fgen.l Mon Jan 17 20:38:49 2022
@@ -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 @@ main(int argc, char *argv[])
/*
* 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