Module Name:    src
Committed By:   andvar
Date:           Sat Oct 14 08:05:26 UTC 2023

Modified Files:
        src/sys/arch/amiga/amiga: autoconf.c
        src/sys/arch/amiga/dev: fd.c
        src/sys/arch/amigappc/amigappc: autoconf.c
        src/sys/dev/dm/doc: locking.txt

Log Message:
fix various typos in comments and documentation, mainly in word "between".


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/arch/amiga/amiga/autoconf.c
cvs rdiff -u -r1.103 -r1.104 src/sys/arch/amiga/dev/fd.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/amigappc/amigappc/autoconf.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/dm/doc/locking.txt

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/amiga/autoconf.c
diff -u src/sys/arch/amiga/amiga/autoconf.c:1.121 src/sys/arch/amiga/amiga/autoconf.c:1.122
--- src/sys/arch/amiga/amiga/autoconf.c:1.121	Mon Mar 28 12:38:57 2022
+++ src/sys/arch/amiga/amiga/autoconf.c	Sat Oct 14 08:05:25 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.121 2022/03/28 12:38:57 riastradh Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.122 2023/10/14 08:05:25 andvar Exp $	*/
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.121 2022/03/28 12:38:57 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.122 2023/10/14 08:05:25 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -159,7 +159,7 @@ matchname(const char *fp, const char *sp
 /*
  * use config_search_ia to find appropriate device, then call that device
  * directly with NULL device variable storage.  A device can then
- * always tell the difference betwean the real and console init
+ * always tell the difference between the real and console init
  * by checking for NULL.
  */
 int

Index: src/sys/arch/amiga/dev/fd.c
diff -u src/sys/arch/amiga/dev/fd.c:1.103 src/sys/arch/amiga/dev/fd.c:1.104
--- src/sys/arch/amiga/dev/fd.c:1.103	Fri Oct 13 22:20:46 2023
+++ src/sys/arch/amiga/dev/fd.c	Sat Oct 14 08:05:26 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: fd.c,v 1.103 2023/10/13 22:20:46 andvar Exp $ */
+/*	$NetBSD: fd.c,v 1.104 2023/10/14 08:05:26 andvar Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.103 2023/10/13 22:20:46 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.104 2023/10/14 08:05:26 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -159,7 +159,7 @@ struct fd_softc {
 	int curcyl;		/* current curcyl head positioned on */
 	int flags;		/* misc flags */
 	int wlabel;
-	int stepdelay;		/* useq to delay after seek user setable */
+	int stepdelay;		/* useq to delay after seek user settable */
 	int nsectors;		/* number of sectors per track */
 	int openpart;		/* which partition [ab] == [12] is open */
 	short retries;		/* number of times to retry failed io */
@@ -2142,7 +2142,7 @@ msblkencode(u_short *rp, u_char *cp, int
 		td = (msencode[*cp >> 4] << 8) | msencode[*cp & 0x0f];
 
 		/* Check for zeros in top bit of encode and bottom
-		 * bit of previous encode.  if so, slap a one in betweem
+		 * bit of previous encode.  if so, slap a one in between
 		 * them.
 		 */
 		if ((td & 0x140) == 0)

Index: src/sys/arch/amigappc/amigappc/autoconf.c
diff -u src/sys/arch/amigappc/amigappc/autoconf.c:1.10 src/sys/arch/amigappc/amigappc/autoconf.c:1.11
--- src/sys/arch/amigappc/amigappc/autoconf.c:1.10	Mon Mar 28 12:38:57 2022
+++ src/sys/arch/amigappc/amigappc/autoconf.c	Sat Oct 14 08:05:25 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.10 2022/03/28 12:38:57 riastradh Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.11 2023/10/14 08:05:25 andvar Exp $	*/
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.10 2022/03/28 12:38:57 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.11 2023/10/14 08:05:25 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -119,7 +119,7 @@ matchname(const char *fp, const char *sp
 /*
  * use config_search_ia to find appropriate device, then call that device
  * directly with NULL device variable storage.  A device can then
- * always tell the difference betwean the real and console init
+ * always tell the difference between the real and console init
  * by checking for NULL.
  */
 int

Index: src/sys/dev/dm/doc/locking.txt
diff -u src/sys/dev/dm/doc/locking.txt:1.4 src/sys/dev/dm/doc/locking.txt:1.5
--- src/sys/dev/dm/doc/locking.txt:1.4	Sat Aug 21 22:23:33 2021
+++ src/sys/dev/dm/doc/locking.txt	Sat Oct 14 08:05:25 2023
@@ -214,7 +214,7 @@ dm_table_unbusy(dm_table_head_t *head)
         mutex_exit(&head->table_mtx);
 }
 
-Device-mapper betwwen ioctl device synchronisation 
+Device-mapper between ioctl device synchronisation 
 
 
 Every ioctl user have to find dm_device with name, uuid, minor number. 

Reply via email to