Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 09:41:19 +0100
From:      Christoph Mallon <christoph.mallon@gmx.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/176054: [PATCH] Correct several typos
Message-ID:  <E1U5BQV-0006wa-Qn@rotluchs.lokal>
Resent-Message-ID: <201302120850.r1C8o0vc033115@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176054
>Category:       misc
>Synopsis:       [PATCH] Correct several typos
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 12 08:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Mallon
>Release:        
>Organization:
>Environment:


	
>Description:
This patch series corrects several common misspellings in base.
>How-To-Repeat:
	
>Fix:
Please apply these patches.

--- 0001-all-Correct-misspellings-of-the-word-occurrence.patch begins here ---
>From 12161a8e000dea827d900197041adb7fa315f7ec Mon Sep 17 00:00:00 2001
From: Christoph Mallon <christoph.mallon@gmx.de>
Date: Sat, 12 Jan 2013 12:21:11 +0100
Subject: [PATCH 1/8] all: Correct misspellings of the word "occurrence".

---
 lib/libc/i386/string/memchr.S                | 2 +-
 lib/libc/i386/string/strchr.S                | 4 ++--
 lib/libc/i386/string/strrchr.S               | 4 ++--
 lib/libc/stdlib/realpath.c                   | 2 +-
 lib/libz/zlib.h                              | 2 +-
 sys/arm/include/sysarch.h                    | 2 +-
 sys/arm/xscale/ixp425/ixp425_npe.c           | 2 +-
 sys/cam/scsi/scsi_pass.c                     | 2 +-
 sys/cam/scsi/scsi_target.c                   | 2 +-
 sys/dev/cxgb/common/cxgb_t3_hw.c             | 2 +-
 sys/dev/msk/if_msk.c                         | 2 +-
 sys/dev/ppbus/ppbconf.c                      | 2 +-
 sys/dev/rndtest/rndtest.c                    | 2 +-
 sys/kern/vfs_mount.c                         | 2 +-
 sys/ufs/ffs/ffs_balloc.c                     | 2 +-
 tools/regression/usr.bin/yacc/grammar.y      | 2 +-
 tools/regression/usr.bin/yacc/regress.08.out | 2 +-
 usr.sbin/ppp/command.c                       | 2 +-
 18 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/lib/libc/i386/string/memchr.S b/lib/libc/i386/string/memchr.S
index 03828db..3bd4d9c 100644
--- a/lib/libc/i386/string/memchr.S
+++ b/lib/libc/i386/string/memchr.S
@@ -33,7 +33,7 @@ __FBSDID("$FreeBSD$");
 
 /*
  * memchr (b, c, len)
- *	locates the first occurance of c in string b.
+ *	locates the first occurrence of c in string b.
  *
  * Written by:
  *	J.T. Conklin (jtc@wimsey.com), Winning Strategies, Inc.
diff --git a/lib/libc/i386/string/strchr.S b/lib/libc/i386/string/strchr.S
index 57fc6dd..f57c2cd 100644
--- a/lib/libc/i386/string/strchr.S
+++ b/lib/libc/i386/string/strchr.S
@@ -33,11 +33,11 @@ __FBSDID("$FreeBSD$");
 
 /*
  * strchr(s, c)
- *	return a pointer to the first occurance of the character c in
+ *	return a pointer to the first occurrence of the character c in
  *	string s, or NULL if c does not occur in the string.
  *
  * %edx - pointer iterating through string
- * %eax - pointer to first occurance of 'c'
+ * %eax - pointer to first occurrence of 'c'
  * %cl  - character we're comparing against
  * %bl  - character at %edx
  *
diff --git a/lib/libc/i386/string/strrchr.S b/lib/libc/i386/string/strrchr.S
index 29942c4..5ec5287 100644
--- a/lib/libc/i386/string/strrchr.S
+++ b/lib/libc/i386/string/strrchr.S
@@ -33,11 +33,11 @@ __FBSDID("$FreeBSD$");
 
 /*
  * strrchr(s, c)
- *	return a pointer to the last occurance of the character c in
+ *	return a pointer to the last occurrence of the character c in
  *	string s, or NULL if c does not occur in the string.
  *
  * %edx - pointer iterating through string
- * %eax - pointer to last occurance of 'c'
+ * %eax - pointer to last occurrence of 'c'
  * %cl  - character we're comparing against
  * %bl  - character at %edx
  *
diff --git a/lib/libc/stdlib/realpath.c b/lib/libc/stdlib/realpath.c
index 8fd5457..a2a9329 100644
--- a/lib/libc/stdlib/realpath.c
+++ b/lib/libc/stdlib/realpath.c
@@ -139,7 +139,7 @@ realpath(const char * __restrict path, char * __restrict resolved)
 			 * Only the trailing slashes are not covered
 			 * by other checks in the loop, but we verify
 			 * the prefix for any (rare) "//" or "/\0"
-			 * occurence to not implement lookahead.
+			 * occurrence to not implement lookahead.
 			 */
 			if (lstat(resolved, &sb) != 0) {
 				if (m)
diff --git a/lib/libz/zlib.h b/lib/libz/zlib.h
index 3edf3ac..7e19bc0 100644
--- a/lib/libz/zlib.h
+++ b/lib/libz/zlib.h
@@ -846,7 +846,7 @@ ZEXTERN int ZEXPORT inflateSync OF((z_streamp strm));
    available input is skipped.  No output is provided.
 
      inflateSync searches for a 00 00 FF FF pattern in the compressed data.
-   All full flush points have this pattern, but not all occurences of this
+   All full flush points have this pattern, but not all occurrences of this
    pattern are full flush points.
 
      inflateSync returns Z_OK if a possible full flush point has been found,
diff --git a/sys/arm/include/sysarch.h b/sys/arm/include/sysarch.h
index b0de6db..95d0211 100644
--- a/sys/arm/include/sysarch.h
+++ b/sys/arm/include/sysarch.h
@@ -47,7 +47,7 @@
  * update the cpu_switch() (and cpu_throw()) code as well.
  * In addition, code in arm/include/atomic.h and arm/include/asmacros.h
  * assumes that ARM_RAS_END is at ARM_RAS_START+4, so be sure to update those
- * if ARM_RAS_END moves in relation to ARM_RAS_START (look for occurrances
+ * if ARM_RAS_END moves in relation to ARM_RAS_START (look for occurrences
  * of ldr/str rm,[rn, #4]).
  */
 
diff --git a/sys/arm/xscale/ixp425/ixp425_npe.c b/sys/arm/xscale/ixp425/ixp425_npe.c
index da8384d..0ccc7d0 100644
--- a/sys/arm/xscale/ixp425/ixp425_npe.c
+++ b/sys/arm/xscale/ixp425/ixp425_npe.c
@@ -419,7 +419,7 @@ ixpnpe_stop(struct ixpnpe_softc *sc)
 
 /*
  * Indicates the start of an NPE Image, in new NPE Image Library format.
- * 2 consecutive occurances indicates the end of the NPE Image Library
+ * 2 consecutive occurrences indicates the end of the NPE Image Library
  */
 #define NPE_IMAGE_MARKER 0xfeedf00d
 
diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c
index fa6af7c..42b9a69 100644
--- a/sys/cam/scsi/scsi_pass.c
+++ b/sys/cam/scsi/scsi_pass.c
@@ -694,7 +694,7 @@ passsendccb(struct cam_periph *periph, union ccb *ccb, union ccb *inccb)
 	 * match CCBs.  For the SCSI, ATA and ADVINFO CCBs, we only pass the
 	 * CCB in if there's actually data to map.  cam_periph_mapmem() will
 	 * do the right thing, even if there isn't data to map, but since CCBs
-	 * without data are a reasonably common occurance (e.g. test unit
+	 * without data are a reasonably common occurrence (e.g. test unit
 	 * ready), it will save a few cycles if we check for it here.
 	 */
 	if (((ccb->ccb_h.flags & CAM_DATA_PHYS) == 0)
diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c
index c45e8d5..843b9b7 100644
--- a/sys/cam/scsi/scsi_target.c
+++ b/sys/cam/scsi/scsi_target.c
@@ -734,7 +734,7 @@ targsendccb(struct targ_softc *softc, union ccb *ccb,
 	 * match CCBs.  For the SCSI CCBs, we only pass the CCB in if
 	 * there's actually data to map.  cam_periph_mapmem() will do the
 	 * right thing, even if there isn't data to map, but since CCBs
-	 * without data are a reasonably common occurance (e.g. test unit
+	 * without data are a reasonably common occurrence (e.g. test unit
 	 * ready), it will save a few cycles if we check for it here.
 	 */
 	if (((ccb_h->flags & CAM_DATA_PHYS) == 0)
diff --git a/sys/dev/cxgb/common/cxgb_t3_hw.c b/sys/dev/cxgb/common/cxgb_t3_hw.c
index 9ad7379..32aab35 100644
--- a/sys/dev/cxgb/common/cxgb_t3_hw.c
+++ b/sys/dev/cxgb/common/cxgb_t3_hw.c
@@ -1727,7 +1727,7 @@ struct intr_info {
  *	@reg: the interrupt status register to process
  *	@mask: a mask to apply to the interrupt status
  *	@acts: table of interrupt actions
- *	@stats: statistics counters tracking interrupt occurences
+ *	@stats: statistics counters tracking interrupt occurrences
  *
  *	A table driven interrupt handler that applies a set of masks to an
  *	interrupt status word and performs the corresponding actions if the
diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c
index d0ca808..180f3e6 100644
--- a/sys/dev/msk/if_msk.c
+++ b/sys/dev/msk/if_msk.c
@@ -3520,7 +3520,7 @@ msk_intr_hwerr(struct msk_softc *sc)
 		 * On PCI Express bus bridges are called root complexes (RC).
 		 * PCI Express errors are recognized by the root complex too,
 		 * which requests the system to handle the problem. After
-		 * error occurence it may be that no access to the adapter
+		 * error occurrence it may be that no access to the adapter
 		 * may be performed any longer.
 		 */
 
diff --git a/sys/dev/ppbus/ppbconf.c b/sys/dev/ppbus/ppbconf.c
index 65a26e0..ef513c1 100644
--- a/sys/dev/ppbus/ppbconf.c
+++ b/sys/dev/ppbus/ppbconf.c
@@ -172,7 +172,7 @@ static char *pnp_classes[] = {
 /*
  * search_token()
  *
- * Search the first occurence of a token within a string
+ * Search the first occurrence of a token within a string
  */
 static char *
 search_token(char *str, int slen, char *token)
diff --git a/sys/dev/rndtest/rndtest.c b/sys/dev/rndtest/rndtest.c
index 4e42aa8..13ecdd6 100644
--- a/sys/dev/rndtest/rndtest.c
+++ b/sys/dev/rndtest/rndtest.c
@@ -360,7 +360,7 @@ rndtest_chi_4(struct rndtest_state *rsp)
 	for (i = 0; i < RNDTEST_CHI4_K; i++)
 		freq[i] = 0;
 
-	/* Get number of occurances of each 4 bit pattern */
+	/* Get number of occurrences of each 4 bit pattern */
 	for (i = 0; i < RNDTEST_NBYTES; i++) {
 		freq[(rsp->rs_buf[i] >> 4) & RNDTEST_CHI4_K_MASK]++;
 		freq[(rsp->rs_buf[i] >> 0) & RNDTEST_CHI4_K_MASK]++;
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 3f10669..5c2307e 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -232,7 +232,7 @@ vfs_equalopts(const char *opt1, const char *opt2)
 /*
  * If a mount option is specified several times,
  * (with or without the "no" prefix) only keep
- * the last occurence of it.
+ * the last occurrence of it.
  */
 static void
 vfs_sanitizeopts(struct vfsoptlist *opts)
diff --git a/sys/ufs/ffs/ffs_balloc.c b/sys/ufs/ffs/ffs_balloc.c
index 0e29be87f..05748c1 100644
--- a/sys/ufs/ffs/ffs_balloc.c
+++ b/sys/ufs/ffs/ffs_balloc.c
@@ -449,7 +449,7 @@ fail:
 	 * We have to sync it at the end so that the soft updates code
 	 * does not find any untracked changes. Although this is really
 	 * slow, running out of disk space is not expected to be a common
-	 * occurence. The error return from fsync is ignored as we already
+	 * occurrence. The error return from fsync is ignored as we already
 	 * have an error to return to the user.
 	 *
 	 * XXX Still have to journal the free below
diff --git a/tools/regression/usr.bin/yacc/grammar.y b/tools/regression/usr.bin/yacc/grammar.y
index 6755522..a2f1883 100644
--- a/tools/regression/usr.bin/yacc/grammar.y
+++ b/tools/regression/usr.bin/yacc/grammar.y
@@ -1027,7 +1027,7 @@ extern char *yytext;
 extern FILE *yyin, *yyout;
 
 static int curly;			/* number of curly brace nesting levels */
-static int ly_count;			/* number of occurances of %% */
+static int ly_count;			/* number of occurrences of %% */
 static int inc_depth;			/* include nesting level */
 static SymbolTable *included_files;	/* files already included */
 static int yy_start = 0;		/* start state number */
diff --git a/tools/regression/usr.bin/yacc/regress.08.out b/tools/regression/usr.bin/yacc/regress.08.out
index 86e93e7..c86f19f 100644
--- a/tools/regression/usr.bin/yacc/regress.08.out
+++ b/tools/regression/usr.bin/yacc/regress.08.out
@@ -847,7 +847,7 @@ extern char *yytext;
 extern FILE *yyin, *yyout;
 
 static int curly;			/* number of curly brace nesting levels */
-static int ly_count;			/* number of occurances of %% */
+static int ly_count;			/* number of occurrences of %% */
 static int inc_depth;			/* include nesting level */
 static SymbolTable *included_files;	/* files already included */
 static int yy_start = 0;		/* start state number */
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index 91fe028..6bdf0c9 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -416,7 +416,7 @@ DialCommand(struct cmdargs const *arg)
 static char *
 strstrword(char *big, const char *little)
 {
-  /* Get the first occurrance of the word ``little'' in ``big'' */
+  /* Get the first occurrence of the word ``little'' in ``big'' */
   char *pos;
   int len;
 
-- 
1.8.1.3
--- 0001-all-Correct-misspellings-of-the-word-occurrence.patch ends here ---

--- dummy1 begins here ---
dummy file, because GNATS damages every other patch
--- dummy1 ends here ---

--- 0002-all-Correct-misspellings-of-the-word-necessary.patch begins here ---
>From e32f3200e7064809cf8407a903bb1a56e3568441 Mon Sep 17 00:00:00 2001
From: Christoph Mallon <christoph.mallon@gmx.de>
Date: Tue, 15 Jan 2013 15:34:47 +0100
Subject: [PATCH 2/8] all: Correct misspellings of the word "necessary".

---
 include/rpcsvc/ypxfrd.x             | 2 +-
 sys/dev/cas/if_casvar.h             | 2 +-
 sys/dev/xen/netback/netback.c       | 2 +-
 sys/fs/devfs/devfs_devs.c           | 2 +-
 sys/fs/msdosfs/msdosfs_conv.c       | 2 +-
 sys/kern/imgact_gzip.c              | 2 +-
 sys/netgraph/ng_base.c              | 2 +-
 usr.sbin/nandsim/nandsim_cfgparse.c | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/include/rpcsvc/ypxfrd.x b/include/rpcsvc/ypxfrd.x
index 6a76768..7efab3d 100644
--- a/include/rpcsvc/ypxfrd.x
+++ b/include/rpcsvc/ypxfrd.x
@@ -75,7 +75,7 @@ const _YPMAXDOMAIN = 64;
 const _YPMAXMAP = 64;
 const _YPMAXPEER = 64;
 
-/* Suggested default -- not necesarrily the one used. */
+/* Suggested default -- not necessarily the one used. */
 const YPXFRBLOCK = 32767;
 
 /*
diff --git a/sys/dev/cas/if_casvar.h b/sys/dev/cas/if_casvar.h
index 10b81dd..653572c 100644
--- a/sys/dev/cas/if_casvar.h
+++ b/sys/dev/cas/if_casvar.h
@@ -56,7 +56,7 @@
 
 /*
  * Receive completion ring size - we have one completion per
- * incoming packet (though the opposite isn't necesarrily true),
+ * incoming packet (though the opposite isn't necessarily true),
  * so this logic is a little simpler.
  */
 #define	CAS_NRXCOMP		4096
diff --git a/sys/dev/xen/netback/netback.c b/sys/dev/xen/netback/netback.c
index b00daf0..77bef5e 100644
--- a/sys/dev/xen/netback/netback.c
+++ b/sys/dev/xen/netback/netback.c
@@ -1816,7 +1816,7 @@ xnb_recv(netif_tx_back_ring_t *txb, domid_t otherend, struct mbuf **mbufc,
 
 	/*
 	 * if we got here, then 1 or more requests was consumed, but the packet
-	 * is not necesarily valid.
+	 * is not necessarily valid.
 	 */
 	if (xnb_pkt_is_valid(&pkt) == 0) {
 		/* got a garbage packet, respond and drop it */
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c
index 2ce1ca6..6b6cf6e 100644
--- a/sys/fs/devfs/devfs_devs.c
+++ b/sys/fs/devfs/devfs_devs.c
@@ -655,7 +655,7 @@ devfs_cleanup(struct devfs_mount *dm)
 /*
  * devfs_create() and devfs_destroy() are called from kern_conf.c and
  * in both cases the devlock() mutex is held, so no further locking
- * is necesary and no sleeping allowed.
+ * is necessary and no sleeping allowed.
  */
 
 void
diff --git a/sys/fs/msdosfs/msdosfs_conv.c b/sys/fs/msdosfs/msdosfs_conv.c
index b7120d8..2d35bda 100644
--- a/sys/fs/msdosfs/msdosfs_conv.c
+++ b/sys/fs/msdosfs/msdosfs_conv.c
@@ -774,7 +774,7 @@ winSlotCnt(un, unlen, pmp)
 }
 
 /*
- * Determine the number of bytes neccesary for Win95 names
+ * Determine the number of bytes neccessary for Win95 names
  */
 size_t
 winLenFixup(un, unlen)
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c
index 1333abe..7c48ac6 100644
--- a/sys/kern/imgact_gzip.c
+++ b/sys/kern/imgact_gzip.c
@@ -18,7 +18,7 @@
  *	inflate isn't quite reentrant yet...
  *	error-handling is a mess...
  *	so is the rest...
- *	tidy up unnecesary includes
+ *	tidy up unnecessary includes
  */
 
 #include <sys/cdefs.h>
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 6143464..95c6061 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -92,7 +92,7 @@ static void ng_dumphooks(void);
 #endif	/* NETGRAPH_DEBUG */
 /*
  * DEAD versions of the structures.
- * In order to avoid races, it is sometimes neccesary to point
+ * In order to avoid races, it is sometimes necessary to point
  * at SOMETHING even though theoretically, the current entity is
  * INVALID. Use these to avoid these races.
  */
diff --git a/usr.sbin/nandsim/nandsim_cfgparse.c b/usr.sbin/nandsim/nandsim_cfgparse.c
index d6a7cd6..33a4141 100644
--- a/usr.sbin/nandsim/nandsim_cfgparse.c
+++ b/usr.sbin/nandsim/nandsim_cfgparse.c
@@ -575,7 +575,7 @@ parse_config(char *cfgfname, const char *devfname)
 
 /*
  * Function tries to get appropriate value for given key, convert it to
- * array of ints (of given size), and perform all the neccesary checks and
+ * array of ints (of given size), and perform all the necessary checks and
  * conversions.
  */
 static int
-- 
1.8.1.3
--- 0002-all-Correct-misspellings-of-the-word-necessary.patch ends here ---

--- dummy2 begins here ---
dummy file, because GNATS damages every other patch
--- dummy2 ends here ---

--- 0003-all-Correct-misspellings-of-the-word-miscellaneous.patch begins here ---
>From 3b56fde5a655c04f3ea0e6e3f1ef14a513c40bf0 Mon Sep 17 00:00:00 2001
From: Christoph Mallon <christoph.mallon@gmx.de>
Date: Tue, 15 Jan 2013 15:40:39 +0100
Subject: [PATCH 3/8] all: Correct misspellings of the word "miscellaneous".

---
 sys/dev/usb/wlan/if_zydreg.h | 2 +-
 sys/i386/isa/spic.c          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/usb/wlan/if_zydreg.h b/sys/dev/usb/wlan/if_zydreg.h
index 4ecc20d..34742e9 100644
--- a/sys/dev/usb/wlan/if_zydreg.h
+++ b/sys/dev/usb/wlan/if_zydreg.h
@@ -112,7 +112,7 @@
 #define ZYD_MACB_MAX_RETRY	0x9b28
 
 /*
- * Miscellanous registers.
+ * Miscellaneous registers.
  */
 #define ZYD_FIRMWARE_START_ADDR	0xee00
 #define ZYD_FIRMWARE_BASE_ADDR	0xee1d /* Firmware base address */
diff --git a/sys/i386/isa/spic.c b/sys/i386/isa/spic.c
index adf1a55..12fb6aa 100644
--- a/sys/i386/isa/spic.c
+++ b/sys/i386/isa/spic.c
@@ -34,7 +34,7 @@
  * and mouse button out of the jog dial. I suspect that this device will
  * end up having to support at least 2 different minor devices: One to be
  * the jog wheel device for moused to camp out on and the other to perform
- * all of the other miscelaneous functions of this device. But for now,
+ * all of the other miscellaneous functions of this device. But for now,
  * the jog wheel is all you get.
  *
  * At the moment, the data sent back by the device is rather primitive.
-- 
1.8.1.3
--- 0003-all-Correct-misspellings-of-the-word-miscellaneous.patch ends here ---

--- dummy3 begins here ---
dummy file, because GNATS damages every other patch
--- dummy3 ends here ---

--- 0004-all-Correct-misspellings-of-the-word-useful.patch begins here ---
>From 230068eb34d4e75469c68c9528133927447b6ff1 Mon Sep 17 00:00:00 2001
From: Christoph Mallon <christoph.mallon@gmx.de>
Date: Fri, 18 Jan 2013 08:21:14 +0100
Subject: [PATCH 4/8] all: Correct misspellings of the word "useful".

---
 sys/cam/cam_periph.h       | 2 +-
 sys/dev/bktr/CHANGELOG.TXT | 2 +-
 sys/dev/bktr/bktr_os.c     | 2 +-
 sys/dev/ppbus/ppbconf.c    | 2 +-
 sys/dev/sound/pcm/dsp.c    | 2 +-
 sys/netinet/tcp_subr.c     | 2 +-
 sys/pci/ncr.c              | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sys/cam/cam_periph.h b/sys/cam/cam_periph.h
index b51fb68..114302d 100644
--- a/sys/cam/cam_periph.h
+++ b/sys/cam/cam_periph.h
@@ -88,7 +88,7 @@ typedef enum {
 	CAM_PERIPH_BIO
 } cam_periph_type;
 
-/* Generically usefull offsets into the peripheral private area */
+/* Generically useful offsets into the peripheral private area */
 #define ppriv_ptr0 periph_priv.entries[0].ptr
 #define ppriv_ptr1 periph_priv.entries[1].ptr
 #define ppriv_field0 periph_priv.entries[0].field
diff --git a/sys/dev/bktr/CHANGELOG.TXT b/sys/dev/bktr/CHANGELOG.TXT
index b885e15..f6c918e 100644
--- a/sys/dev/bktr/CHANGELOG.TXT
+++ b/sys/dev/bktr/CHANGELOG.TXT
@@ -285,7 +285,7 @@
                     Fix row=0/columns=0 bug. From Randal Hopper<aa8vb@ipass.net>
                     Add option to block the reset of the MSP34xx audio chip by
                     adding options BKTR_NO_MSP_RESET to the kernel config file.
-                    This is usefull if you run another operating system
+                    This is useful if you run another operating system
                     first to initialise the audio chip, then do a soft reboot.
                     Added for Yuri Gindin <yuri@xpert.com>
 
diff --git a/sys/dev/bktr/bktr_os.c b/sys/dev/bktr/bktr_os.c
index 4eb39ae..773ffb0 100644
--- a/sys/dev/bktr/bktr_os.c
+++ b/sys/dev/bktr/bktr_os.c
@@ -404,7 +404,7 @@ bktr_attach( device_t dev )
 
 #if defined( BKTR_SIS_VIA_MODE )
 	if (bootverbose) printf("Using SiS/VIA chipset compatibilty mode\n");
-        fun = fun | 4;	/* Enable SiS/VIA compatibility mode (usefull for
+        fun = fun | 4;	/* Enable SiS/VIA compatibility mode (useful for
                            OPTi chipset motherboards too */
 #endif
 	pci_write_config(dev, 0x40, fun, 2);
diff --git a/sys/dev/ppbus/ppbconf.c b/sys/dev/ppbus/ppbconf.c
index ef513c1..a2370dd 100644
--- a/sys/dev/ppbus/ppbconf.c
+++ b/sys/dev/ppbus/ppbconf.c
@@ -531,7 +531,7 @@ ppb_request_bus(device_t bus, device_t dev, int how)
 
 			/* restore the context of the device
 			 * The first time, ctx.valid is certainly false
-			 * then do not change anything. This is usefull for
+			 * then do not change anything. This is useful for
 			 * drivers that do not set there operating mode
 			 * during attachement
 			 */
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c
index 2cfc170..6b55312 100644
--- a/sys/dev/sound/pcm/dsp.c
+++ b/sys/dev/sound/pcm/dsp.c
@@ -2009,7 +2009,7 @@ dsp_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode,
 	 * OSSv4 docs:  "All errors and counters will automatically be
 	 * cleared to zeroes after the call so each call will return only
 	 * the errors that occurred after the previous invocation. ... The
-	 * play_underruns and rec_overrun fields are the only usefull fields
+	 * play_underruns and rec_overrun fields are the only useful fields
 	 * returned by OSS 4.0."
 	 */
 		{
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 3c9dd34..1e30255 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1060,7 +1060,7 @@ tcp_drain(void)
 	 * XXX: The "Net/3" implementation doesn't imply that the TCP
 	 *      reassembly queue should be flushed, but in a situation
 	 *	where we're really low on mbufs, this is potentially
-	 *	usefull.
+	 *	useful.
 	 */
 		INP_INFO_RLOCK(&V_tcbinfo);
 		LIST_FOREACH(inpb, V_tcbinfo.ipi_listhead, inp_list) {
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index ead7d43..5e3a406 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -4857,7 +4857,7 @@ static void ncr_getsync(ncb_p np, u_char sfac, u_char *fakp, u_char *scntl3p)
 	*/
 	fak = (kpc - 1) / div_10M[div] + 1;
 
-#if 0	/* You can #if 1 if you think this optimization is usefull */
+#if 0	/* You can #if 1 if you think this optimization is useful */
 
 	per = (fak * div_10M[div]) / clk;
 
-- 
1.8.1.3
--- 0004-all-Correct-misspellings-of-the-word-useful.patch ends here ---

--- dummy4 begins here ---
dummy file, because GNATS damages every other patch
--- dummy4 ends here ---

--- 0005-all-Correct-misspellings-of-the-word-resource.patch begins here ---
>From 3ddcef1b69b1b48f582bfd5cb1c8cba64d1efb21 Mon Sep 17 00:00:00 2001
From: Christoph Mallon <christoph.mallon@gmx.de>
Date: Wed, 23 Jan 2013 16:43:39 +0100
Subject: [PATCH 5/8] all: Correct misspellings of the word "resource".

---
 sys/arm/ti/omap4/omap4_prcm_clks.c                    | 8 ++++----
 sys/dev/isci/scil/scic_sds_phy.c                      | 2 +-
 sys/dev/isci/scil/scic_sds_port.c                     | 2 +-
 sys/dev/isci/scil/scic_sds_port_configuration_agent.c | 2 +-
 sys/dev/mxge/if_mxge.c                                | 2 +-
 sys/pc98/pc98/canbus.c                                | 4 ++--
 usr.bin/rctl/rctl.8                                   | 2 +-
 7 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/sys/arm/ti/omap4/omap4_prcm_clks.c b/sys/arm/ti/omap4/omap4_prcm_clks.c
index a4cd41c..16636d7 100644
--- a/sys/arm/ti/omap4/omap4_prcm_clks.c
+++ b/sys/arm/ti/omap4/omap4_prcm_clks.c
@@ -1003,7 +1003,7 @@ omap4_clk_get_arm_fclk_freq(struct ti_clock_dev *clkdev,
 /**
  *	omap4_clk_hsusbhost_activate - activates the USB clocks for the given module
  *	@clkdev: pointer to the clock device structure.
- *	@mem_res: array of memory resouces allocated by the top level PRCM driver.
+ *	@mem_res: array of memory resources allocated by the top level PRCM driver.
  *	
  *	The USB clocking setup seems to be a bit more tricky than the other modules,
  *	to start with the clocking diagram for the HS host module shows 13 different
@@ -1153,7 +1153,7 @@ omap4_clk_hsusbhost_activate(struct ti_clock_dev *clkdev)
 /**
  *	omap4_clk_generic_deactivate - checks if a module is accessible
  *	@clkdev: pointer to the clock device structure.
- *	@mem_res: array of memory resouces allocated by the top level PRCM driver.
+ *	@mem_res: array of memory resources allocated by the top level PRCM driver.
  *	
  *	
  *
@@ -1242,7 +1242,7 @@ omap4_clk_hsusbhost_deactivate(struct ti_clock_dev *clkdev)
 /**
  *	omap4_clk_hsusbhost_accessible - checks if a module is accessible
  *	@clkdev: pointer to the clock device structure.
- *	@mem_res: array of memory resouces allocated by the top level PRCM driver.
+ *	@mem_res: array of memory resources allocated by the top level PRCM driver.
  *	
  *	
  *
@@ -1291,7 +1291,7 @@ omap4_clk_hsusbhost_accessible(struct ti_clock_dev *clkdev)
  *	omap4_clk_hsusbhost_set_source - sets the source clocks
  *	@clkdev: pointer to the clock device structure.
  *	@clksrc: the clock source ID for the given clock.
- *	@mem_res: array of memory resouces allocated by the top level PRCM driver.
+ *	@mem_res: array of memory resources allocated by the top level PRCM driver.
  *	
  *	
  *
diff --git a/sys/dev/isci/scil/scic_sds_phy.c b/sys/dev/isci/scil/scic_sds_phy.c
index ac2fcae..a893e29 100644
--- a/sys/dev/isci/scil/scic_sds_phy.c
+++ b/sys/dev/isci/scil/scic_sds_phy.c
@@ -975,7 +975,7 @@ void scic_sds_phy_get_attached_phy_protocols(
  *
  * @param[in] controller This parameter specifies the core controller, one of
  *            its phy's resources are to be released.
- * @param[in] this_phy This parameter specifies the phy whose resourse is to
+ * @param[in] this_phy This parameter specifies the phy whose resource is to
  *            be released.
  */
 void scic_sds_phy_release_resource(
diff --git a/sys/dev/isci/scil/scic_sds_port.c b/sys/dev/isci/scil/scic_sds_port.c
index 220bb1d..59940f0 100644
--- a/sys/dev/isci/scil/scic_sds_port.c
+++ b/sys/dev/isci/scil/scic_sds_port.c
@@ -1537,7 +1537,7 @@ void scic_port_enable_broadcast_change_notification(
  *
  * @param[in] controller This parameter specifies the core controller, one of
  *            its phy's resources are to be released.
- * @param[in] this_port This parameter specifies the port whose resourse is to
+ * @param[in] this_port This parameter specifies the port whose resource is to
  *            be released.
  */
 void scic_sds_port_release_resource(
diff --git a/sys/dev/isci/scil/scic_sds_port_configuration_agent.c b/sys/dev/isci/scil/scic_sds_port_configuration_agent.c
index d02d9e2..a6f66a3 100644
--- a/sys/dev/isci/scil/scic_sds_port_configuration_agent.c
+++ b/sys/dev/isci/scil/scic_sds_port_configuration_agent.c
@@ -1109,7 +1109,7 @@ void scic_sds_port_configuration_agent_destroy(
  *
  * @param[in] controller This parameter specifies the core controller, one of
  *            its phy's resources are to be released.
- * @param[in] this_phy This parameter specifies the phy whose resourse is to
+ * @param[in] this_phy This parameter specifies the phy whose resource is to
  *            be released.
  */
 void scic_sds_port_configuration_agent_release_resource(
diff --git a/sys/dev/mxge/if_mxge.c b/sys/dev/mxge/if_mxge.c
index feefc3b..df345c1 100644
--- a/sys/dev/mxge/if_mxge.c
+++ b/sys/dev/mxge/if_mxge.c
@@ -3311,7 +3311,7 @@ mxge_alloc_slice_rings(struct mxge_slice_state *ss, int rx_ring_entries,
 		return err;
 	}
 
-	/* now allocate TX resouces */
+	/* now allocate TX resources */
 
 #ifndef IFNET_BUF_RING
 	/* only use a single TX ring for now */
diff --git a/sys/pc98/pc98/canbus.c b/sys/pc98/pc98/canbus.c
index ceb2d71..9619047 100644
--- a/sys/pc98/pc98/canbus.c
+++ b/sys/pc98/pc98/canbus.c
@@ -62,13 +62,13 @@ struct canbus_softc {
 
 	/* index register */
 	int index_id;				/* index ID */
-	struct resource *index_res;		/* index resouce */
+	struct resource *index_res;		/* index resource */
 	bus_space_tag_t index_tag;		/* index tag */
 	bus_space_handle_t index_handle;	/* index handle */
 
 	/* data register */
 	int data_id;				/* data ID */
-	struct resource *data_res;		/* data resouce */
+	struct resource *data_res;		/* data resource */
 	bus_space_tag_t data_tag;		/* data tag */
 	bus_space_handle_t data_handle;		/* data handle */
 };
diff --git a/usr.bin/rctl/rctl.8 b/usr.bin/rctl/rctl.8
index 556c73a..6b2f4da 100644
--- a/usr.bin/rctl/rctl.8
+++ b/usr.bin/rctl/rctl.8
@@ -162,7 +162,7 @@ See
 for a list of supported signals.
 .Pp
 Not all actions are supported for all resources.
-Attempt to add rule with action not supported by a given resouce will result
+Attempt to add rule with action not supported by a given resource will result
 in error.
 .Pp
 Note that limiting RSS may kill the machine due to thrashing.
-- 
1.8.1.3
--- 0005-all-Correct-misspellings-of-the-word-resource.patch ends here ---

--- dummy5 begins here ---
dummy file, because GNATS damages every other patch
--- dummy5 ends here ---

--- 0006-all-Correct-misspellings-of-the-word-and.patch begins here ---
>From 43e6556d1f8b40b3b20ee9aad5bf4eb5fafc2d96 Mon Sep 17 00:00:00 2001
From: Christoph Mallon <christoph.mallon@gmx.de>
Date: Wed, 30 Jan 2013 14:27:57 +0100
Subject: [PATCH 6/8] all: Correct misspellings of the word "and".

---
 share/i18n/csmapper/KAZAKH/KZ1048%UCS.src | 2 +-
 share/i18n/csmapper/KAZAKH/UCS%KZ1048.src | 2 +-
 sys/dev/sound/pci/emu10kx.c               | 2 +-
 tools/tools/notescheck/notescheck.py      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src b/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src
index ca299db..0249d73 100644
--- a/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src
+++ b/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src
@@ -23,7 +23,7 @@ BEGIN_MAP
 # Yes
 # Published specification(s):
 # The official Standard STRK1048-2002 was created by the Committee of standartization of
-# Ministry of economy and trade of Kazakhstan Republic ans was published in print by the
+# Ministry of economy and trade of Kazakhstan Republic and was published in print by the
 # Kazakhstan Standard Committee, Astana, February 7, 2002
 # 
 # Mapping data are available online at http://www.sci.kz/~sairan/kazcode/TableA.html
diff --git a/share/i18n/csmapper/KAZAKH/UCS%KZ1048.src b/share/i18n/csmapper/KAZAKH/UCS%KZ1048.src
index 5d1227e..e72b325 100644
--- a/share/i18n/csmapper/KAZAKH/UCS%KZ1048.src
+++ b/share/i18n/csmapper/KAZAKH/UCS%KZ1048.src
@@ -23,7 +23,7 @@ BEGIN_MAP
 # Yes
 # Published specification(s):
 # The official Standard STRK1048-2002 was created by the Committee of standartization of
-# Ministry of economy and trade of Kazakhstan Republic ans was published in print by the
+# Ministry of economy and trade of Kazakhstan Republic and was published in print by the
 # Kazakhstan Standard Committee, Astana, February 7, 2002
 # 
 # Mapping data are available online at http://www.sci.kz/~sairan/kazcode/TableA.html
diff --git a/sys/dev/sound/pci/emu10kx.c b/sys/dev/sound/pci/emu10kx.c
index 35a4957..4503c05 100644
--- a/sys/dev/sound/pci/emu10kx.c
+++ b/sys/dev/sound/pci/emu10kx.c
@@ -1928,7 +1928,7 @@ emu_initefx(struct emu_sc_info *sc)
 			/*
 			 * Substream map (in byte offsets, each substream is 2 bytes):
 			 *	0x00..0x1E - outputs
-			 *	0x20..0x3E - FX, inputs ans sync stream
+			 *	0x20..0x3E - FX, inputs and sync stream
 			 */
 
 			/* First 2 channels (offset 0x20,0x22) are empty */
diff --git a/tools/tools/notescheck/notescheck.py b/tools/tools/notescheck/notescheck.py
index 35915b9..8e23387 100644
--- a/tools/tools/notescheck/notescheck.py
+++ b/tools/tools/notescheck/notescheck.py
@@ -93,7 +93,7 @@ class Option:
             return
 
         if global_platform in self.defines:
-            # If the device is defined globally ans is never tested, whine.
+            # If the device is defined globally and is never tested, whine.
             if len(self.tests) == 0:
                 print('WARN: %s is defined globally but never tested' % \
                     (self.title()))
-- 
1.8.1.3
--- 0006-all-Correct-misspellings-of-the-word-and.patch ends here ---

--- dummy6 begins here ---
dummy file, because GNATS damages every other patch
--- dummy6 ends here ---

--- 0007-all-Correct-misspellings-of-the-word-lose.patch begins here ---
>From f20b558cf7e132c89cff00edacb3fd267a1dc48d Mon Sep 17 00:00:00 2001
From: Christoph Mallon <christoph.mallon@gmx.de>
Date: Mon, 4 Feb 2013 22:18:17 +0100
Subject: [PATCH 7/8] all: Correct misspellings of the word "lose".

---
 lib/libc/posix1e/acl_is_trivial_np.3 | 2 +-
 share/man/man7/c99.7                 | 2 +-
 sys/dev/ata/ata-lowlevel.c           | 2 +-
 sys/dev/ata/ata-queue.c              | 2 +-
 sys/dev/uart/uart_core.c             | 4 ++--
 sys/dev/usb/serial/usb_serial.c      | 2 +-
 sys/dev/usb/serial/usb_serial.h      | 2 +-
 sys/fs/fdescfs/fdesc_vnops.c         | 2 +-
 sys/x86/x86/local_apic.c             | 2 +-
 9 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/lib/libc/posix1e/acl_is_trivial_np.3 b/lib/libc/posix1e/acl_is_trivial_np.3
index 4ad1a63..a9cd4df 100644
--- a/lib/libc/posix1e/acl_is_trivial_np.3
+++ b/lib/libc/posix1e/acl_is_trivial_np.3
@@ -52,7 +52,7 @@ will be set to 1, if the ACL
 .Fa aclp
 points to is trivial, or 0 if it's not.
 .Pp
-ACL is trivial if it can be fully expressed as a file mode without loosing
+ACL is trivial if it can be fully expressed as a file mode without losing
 any access rules.
 For POSIX.1e ACLs, ACL is trivial if it has the three required entries,
 one for owner, one for owning group, and one for other.
diff --git a/share/man/man7/c99.7 b/share/man/man7/c99.7
index e12d000..43ef675 100644
--- a/share/man/man7/c99.7
+++ b/share/man/man7/c99.7
@@ -70,7 +70,7 @@ The elements of this standard library is still not enough for more
 complicated tasks.
 In this case the provided system calls of the given operating system can be
 used.
-To not loose the portability by using these system calls, the POSIX
+To not lose the portability by using these system calls, the POSIX
 (Portable Operating System Interface) standard evolved.
 It describes what functions should be available to keep portability.
 Note, that POSIX is not a C standard, but an operating system standard
diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c
index 6f83db7..2f9fef6 100644
--- a/sys/dev/ata/ata-lowlevel.c
+++ b/sys/dev/ata/ata-lowlevel.c
@@ -504,7 +504,7 @@ ata_generic_reset(device_t dev)
 		      mask, ostat0, ostat1);
 
     /* if nothing showed up there is no need to get any further */
-    /* XXX SOS is that too strong?, we just might loose devices here */
+    /* XXX SOS is that too strong?, we just might lose devices here */
     ch->devices = 0;
     if (!mask)
 	return;
diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c
index d18f9c1..177e09f 100644
--- a/sys/dev/ata/ata-queue.c
+++ b/sys/dev/ata/ata-queue.c
@@ -521,7 +521,7 @@ ata_timeout(struct ata_request *request)
     /*
      * if we have an ATA_ACTIVE request running, we flag the request 
      * ATA_R_TIMEOUT so ata_finish will handle it correctly
-     * also NULL out the running request so we wont loose 
+     * also NULL out the running request so we wont lose
      * the race with an eventual interrupt arriving late
      */
     if (ch->state == ATA_ACTIVE) {
diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c
index f5a9a1c..6e4b34d 100644
--- a/sys/dev/uart/uart_core.c
+++ b/sys/dev/uart/uart_core.c
@@ -137,7 +137,7 @@ uart_intr_break(void *arg)
  * much of the data we can, but otherwise flush the receiver FIFO to
  * create some breathing room. The net effect is that we avoid the
  * overrun condition to happen for the next X characters, where X is
- * related to the FIFO size at the cost of loosing data right away.
+ * related to the FIFO size at the cost of losing data right away.
  * So, instead of having multiple overrun interrupts in close proximity
  * to each other and possibly pessimizing UART interrupt latency for
  * other UARTs in a multiport configuration, we create a longer segment
@@ -192,7 +192,7 @@ uart_intr_rxready(void *arg)
  * Line or modem status change (OOB signalling).
  * We pass the signals to the software interrupt handler for further
  * processing. Note that we merge the delta bits, but set the state
- * bits. This is to avoid loosing state transitions due to having more
+ * bits. This is to avoid losing state transitions due to having more
  * than 1 hardware interrupt between software interrupts.
  */
 static __inline int
diff --git a/sys/dev/usb/serial/usb_serial.c b/sys/dev/usb/serial/usb_serial.c
index 3bf6ee0..22d89ae 100644
--- a/sys/dev/usb/serial/usb_serial.c
+++ b/sys/dev/usb/serial/usb_serial.c
@@ -965,7 +965,7 @@ ucom_cfg_line_state(struct usb_proc_msg *_task)
 	sc->sc_pls_set = 0;
 	sc->sc_pls_clr = 0;
 
-	/* ensure that we don't loose any levels */
+	/* ensure that we don't lose any levels */
 	if (notch_bits & UCOM_LS_DTR)
 		sc->sc_callback->ucom_cfg_set_dtr(sc,
 		    (prev_value & UCOM_LS_DTR) ? 1 : 0);
diff --git a/sys/dev/usb/serial/usb_serial.h b/sys/dev/usb/serial/usb_serial.h
index 0ac822d..c0ed57f 100644
--- a/sys/dev/usb/serial/usb_serial.h
+++ b/sys/dev/usb/serial/usb_serial.h
@@ -146,7 +146,7 @@ struct ucom_super_softc {
 
 struct ucom_softc {
 	/*
-	 * NOTE: To avoid loosing level change information we use two
+	 * NOTE: To avoid losing level change information we use two
 	 * tasks instead of one for all commands.
 	 *
 	 * Level changes are transitions like:
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index 3c4f44d..b117077 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -333,7 +333,7 @@ fdesc_lookup(ap)
 		 * and the root vnode lock will be obtained afterwards (in case
 		 * we're looking up the fd of the root vnode), which will be the
 		 * opposite lock order. Vhold the root vnode first so we don't
-		 * loose it.
+		 * lose it.
 		 */
 		vhold(dvp);
 		VOP_UNLOCK(dvp, 0);
diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c
index c60db22..0346a05 100644
--- a/sys/x86/x86/local_apic.c
+++ b/sys/x86/x86/local_apic.c
@@ -802,7 +802,7 @@ lapic_handle_timer(struct trapframe *frame)
 	 * Don't do any accounting for the disabled HTT cores, since it
 	 * will provide misleading numbers for the userland.
 	 *
-	 * No locking is necessary here, since even if we loose the race
+	 * No locking is necessary here, since even if we lose the race
 	 * when hlt_cpus_mask changes it is not a big deal, really.
 	 *
 	 * Don't do that for ULE, since ULE doesn't consider hlt_cpus_mask
-- 
1.8.1.3
--- 0007-all-Correct-misspellings-of-the-word-lose.patch ends here ---

--- dummy7 begins here ---
dummy file, because GNATS damages every other patch
--- dummy7 ends here ---

--- 0008-all-Correct-typos-in-comments.patch begins here ---
>From 4cece6fba21ec74086e539103999d276b0e01e39 Mon Sep 17 00:00:00 2001
From: Christoph Mallon <christoph.mallon@gmx.de>
Date: Tue, 15 Jan 2013 15:36:14 +0100
Subject: [PATCH 8/8] all: Correct typos in comments.

---
 share/i18n/csmapper/KAZAKH/KZ1048%UCS.src | 2 +-
 share/i18n/csmapper/KAZAKH/UCS%KZ1048.src | 2 +-
 sys/amd64/include/xen/xen-os.h            | 2 +-
 sys/dev/xen/netback/netback.c             | 2 +-
 sys/fs/msdosfs/msdosfs_conv.c             | 2 +-
 sys/i386/isa/spic.c                       | 2 +-
 sys/mips/mips/stack_machdep.c             | 2 +-
 sys/netgraph/bluetooth/hci/ng_hci_ulpi.c  | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src b/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src
index 0249d73..05cab4d 100644
--- a/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src
+++ b/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src
@@ -22,7 +22,7 @@ BEGIN_MAP
 # Suitability for use in MIME text:
 # Yes
 # Published specification(s):
-# The official Standard STRK1048-2002 was created by the Committee of standartization of
+# The official Standard STRK1048-2002 was created by the Committee of standardization of
 # Ministry of economy and trade of Kazakhstan Republic and was published in print by the
 # Kazakhstan Standard Committee, Astana, February 7, 2002
 # 
diff --git a/share/i18n/csmapper/KAZAKH/UCS%KZ1048.src b/share/i18n/csmapper/KAZAKH/UCS%KZ1048.src
index e72b325..be6c4bd 100644
--- a/share/i18n/csmapper/KAZAKH/UCS%KZ1048.src
+++ b/share/i18n/csmapper/KAZAKH/UCS%KZ1048.src
@@ -22,7 +22,7 @@ BEGIN_MAP
 # Suitability for use in MIME text:
 # Yes
 # Published specification(s):
-# The official Standard STRK1048-2002 was created by the Committee of standartization of
+# The official Standard STRK1048-2002 was created by the Committee of standardization of
 # Ministry of economy and trade of Kazakhstan Republic and was published in print by the
 # Kazakhstan Standard Committee, Astana, February 7, 2002
 # 
diff --git a/sys/amd64/include/xen/xen-os.h b/sys/amd64/include/xen/xen-os.h
index 163e7f2..0380a55 100644
--- a/sys/amd64/include/xen/xen-os.h
+++ b/sys/amd64/include/xen/xen-os.h
@@ -57,7 +57,7 @@ void trap_init(void);
 
 /*
  * STI/CLI equivalents. These basically set and clear the virtual
- * event_enable flag in teh shared_info structure. Note that when
+ * event_enable flag in the shared_info structure. Note that when
  * the enable bit is set, there may be pending events to be handled.
  * We may therefore call into do_hypervisor_callback() directly.
  */
diff --git a/sys/dev/xen/netback/netback.c b/sys/dev/xen/netback/netback.c
index 77bef5e..4c78113 100644
--- a/sys/dev/xen/netback/netback.c
+++ b/sys/dev/xen/netback/netback.c
@@ -1811,7 +1811,7 @@ xnb_recv(netif_tx_back_ring_t *txb, domid_t otherend, struct mbuf **mbufc,
 	if (num_consumed == 0)
 		return 0;	/* Nothing to receive */
 
-	/* update statistics indepdent of errors */
+	/* update statistics independent of errors */
 	ifnet->if_ipackets++;
 
 	/*
diff --git a/sys/fs/msdosfs/msdosfs_conv.c b/sys/fs/msdosfs/msdosfs_conv.c
index 2d35bda..b906e87 100644
--- a/sys/fs/msdosfs/msdosfs_conv.c
+++ b/sys/fs/msdosfs/msdosfs_conv.c
@@ -788,7 +788,7 @@ winLenFixup(un, unlen)
 }
 
 /*
- * Store an area with multi byte string instr, and reterns left
+ * Store an area with multi byte string instr, and returns left
  * byte of instr and moves pointer forward. The area's size is
  * inlen or outlen.
  */
diff --git a/sys/i386/isa/spic.c b/sys/i386/isa/spic.c
index 12fb6aa..70c1cc1 100644
--- a/sys/i386/isa/spic.c
+++ b/sys/i386/isa/spic.c
@@ -41,7 +41,7 @@
  * It sends a single character per event:
  * u = up, d = down -- that's the jog button
  * l = left, r = right -- that's the dial.
- * "left" and "right" are rather caprecious. They actually represent
+ * "left" and "right" are rather capricious. They actually represent
  * ccw and cw, respectively
  *
  * What documentation exists is thanks to Andrew Tridge, and his page at
diff --git a/sys/mips/mips/stack_machdep.c b/sys/mips/mips/stack_machdep.c
index 2d67273..e7971a2 100644
--- a/sys/mips/mips/stack_machdep.c
+++ b/sys/mips/mips/stack_machdep.c
@@ -148,7 +148,7 @@ stack_save(struct stack *st)
 	u_register_t pc, sp;
 
 	if (curthread == NULL)
-		panic("stack_save: curthread == NULL)");
+		panic("stack_save: curthread == NULL");
 
 	pc = curthread->td_pcb->pcb_regs.pc;
 	sp = curthread->td_pcb->pcb_regs.sp;
diff --git a/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c b/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
index 4c06c07..33ed0e9 100644
--- a/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
+++ b/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
@@ -391,7 +391,7 @@ ng_hci_lp_sco_con_req(ng_hci_unit_p unit, item_p item, hook_p hook)
 
 		default:
 			panic(
-"%s: %s - Inavalid connection state=%d\n",
+"%s: %s - Invalid connection state=%d\n",
 				__func__, NG_NODE_NAME(unit->node),
 				sco_con->state);
 			break;
-- 
1.8.1.3
--- 0008-all-Correct-typos-in-comments.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1U5BQV-0006wa-Qn>