summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2021-03-12 10:22:46 +0000
committerjsg <jsg@openbsd.org>2021-03-12 10:22:46 +0000
commit84f3acfde2a7e7d22afae1b5e404e34b9403abc7 (patch)
tree532ab99510abf28f9763188c8bad3d04a4614c88
parentKill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic (diff)
downloadwireguard-openbsd-84f3acfde2a7e7d22afae1b5e404e34b9403abc7.tar.xz
wireguard-openbsd-84f3acfde2a7e7d22afae1b5e404e34b9403abc7.zip
spelling
-rw-r--r--sys/crypto/set_key.c4
-rw-r--r--sys/crypto/sha2.c4
-rw-r--r--sys/ddb/db_elf.c4
-rw-r--r--sys/lib/libsa/arp.c4
-rw-r--r--sys/lib/libsa/bcrypt_pbkdf.c4
-rw-r--r--sys/lib/libsa/sha2.c4
-rw-r--r--sys/scsi/cd.c4
-rw-r--r--sys/scsi/ch.c4
-rw-r--r--sys/scsi/mpath_sym.c4
-rw-r--r--sys/scsi/scsi_changer.h6
-rw-r--r--sys/scsi/scsi_disk.h4
-rw-r--r--sys/scsi/st.c8
12 files changed, 27 insertions, 27 deletions
diff --git a/sys/crypto/set_key.c b/sys/crypto/set_key.c
index fcc3174d372..0f2595d6197 100644
--- a/sys/crypto/set_key.c
+++ b/sys/crypto/set_key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: set_key.c,v 1.4 2015/12/10 21:00:51 naddy Exp $ */
+/* $OpenBSD: set_key.c,v 1.5 2021/03/12 10:22:46 jsg Exp $ */
/* lib/des/set_key.c */
/* Copyright (C) 1995 Eric Young (eay@mincom.oz.au)
@@ -110,7 +110,7 @@ des_is_weak_key(des_cblock (*key))
int i;
for (i = 0; i < NUM_WEAK_KEY; i++) {
- /* Added == 0 to comparision, I obviously don't run
+ /* Added == 0 to comparison, I obviously don't run
* this section very often :-(, thanks to
* engineering@MorningStar.Com for the fix
* eay 93/06/29 */
diff --git a/sys/crypto/sha2.c b/sys/crypto/sha2.c
index 63a9ae594fc..769b73262ca 100644
--- a/sys/crypto/sha2.c
+++ b/sys/crypto/sha2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sha2.c,v 1.18 2015/03/14 03:38:46 jsg Exp $ */
+/* $OpenBSD: sha2.c,v 1.19 2021/03/12 10:22:46 jsg Exp $ */
/*
* FILE: sha2.c
@@ -64,7 +64,7 @@
* Please make sure that your system defines BYTE_ORDER. If your
* architecture is little-endian, make sure it also defines
* LITTLE_ENDIAN and that the two (BYTE_ORDER and LITTLE_ENDIAN) are
- * equivilent.
+ * equivalent.
*
* If your system does not define the above, then you can do so by
* hand like this:
diff --git a/sys/ddb/db_elf.c b/sys/ddb/db_elf.c
index 0a7a43a41ac..2eeb1835b4f 100644
--- a/sys/ddb/db_elf.c
+++ b/sys/ddb/db_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_elf.c,v 1.31 2020/10/15 03:14:00 deraadt Exp $ */
+/* $OpenBSD: db_elf.c,v 1.32 2021/03/12 10:22:46 jsg Exp $ */
/* $NetBSD: db_elf.c,v 1.13 2000/07/07 21:55:18 jhawk Exp $ */
/*-
@@ -54,7 +54,7 @@ Elf_Sym *db_elf_sym_lookup(char *);
* symsize: size of symbol table
* symtab: pointer to start of symbol table
* esymtab: pointer to end of string table, for checking - rounded up to
- * integer boundry
+ * integer boundary
*/
int
db_elf_sym_init(int symsize, void *symtab, void *esymtab, const char *name)
diff --git a/sys/lib/libsa/arp.c b/sys/lib/libsa/arp.c
index 8bef3942a9d..12a709497cc 100644
--- a/sys/lib/libsa/arp.c
+++ b/sys/lib/libsa/arp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arp.c,v 1.12 2014/07/13 15:31:20 mpi Exp $ */
+/* $OpenBSD: arp.c,v 1.13 2021/03/12 10:22:46 jsg Exp $ */
/* $NetBSD: arp.c,v 1.15 1996/10/13 02:28:58 christos Exp $ */
/*
@@ -132,7 +132,7 @@ arpwhohas(struct iodesc *d, struct in_addr addr)
if (debug) {
printf("arp: response from %s\n",
ether_sprintf(rbuf.eh.ether_shost));
- printf("arp: cacheing %s --> %s\n",
+ printf("arp: caching %s --> %s\n",
inet_ntoa(addr), ether_sprintf(ah->arp_sha));
}
#endif
diff --git a/sys/lib/libsa/bcrypt_pbkdf.c b/sys/lib/libsa/bcrypt_pbkdf.c
index df0e34c4e46..07c1461e79e 100644
--- a/sys/lib/libsa/bcrypt_pbkdf.c
+++ b/sys/lib/libsa/bcrypt_pbkdf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcrypt_pbkdf.c,v 1.2 2020/07/09 19:17:19 millert Exp $ */
+/* $OpenBSD: bcrypt_pbkdf.c,v 1.3 2021/03/12 10:22:46 jsg Exp $ */
/*
* Copyright (c) 2013 Ted Unangst <tedu@openbsd.org>
*
@@ -31,7 +31,7 @@
* function with the following modifications:
* 1. The input password and salt are preprocessed with SHA512.
* 2. The output length is expanded to 256 bits.
- * 3. Subsequently the magic string to be encrypted is lengthened and modifed
+ * 3. Subsequently the magic string to be encrypted is lengthened and modified
* to "OxychromaticBlowfishSwatDynamite"
* 4. The hash function is defined to perform 64 rounds of initial state
* expansion. (More rounds are performed by iterating the hash.)
diff --git a/sys/lib/libsa/sha2.c b/sys/lib/libsa/sha2.c
index 7e6feafaf7b..eacbc49d23c 100644
--- a/sys/lib/libsa/sha2.c
+++ b/sys/lib/libsa/sha2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sha2.c,v 1.2 2017/05/27 15:32:51 naddy Exp $ */
+/* $OpenBSD: sha2.c,v 1.3 2021/03/12 10:22:46 jsg Exp $ */
/*
* FILE: sha2.c
@@ -66,7 +66,7 @@
* Please make sure that your system defines BYTE_ORDER. If your
* architecture is little-endian, make sure it also defines
* LITTLE_ENDIAN and that the two (BYTE_ORDER and LITTLE_ENDIAN) are
- * equivilent.
+ * equivalent.
*
* If your system does not define the above, then you can do so by
* hand like this:
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index b5185a10e91..0a4b74bac38 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.262 2020/09/22 19:32:53 krw Exp $ */
+/* $OpenBSD: cd.c,v 1.263 2021/03/12 10:22:46 jsg Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -2082,7 +2082,7 @@ cd_interpret_sense(struct scsi_xfer *xs)
* report "Unit Becoming Ready" when loading media and can
* take a long time. Rather than having a massive timeout for
* all operations (which would cause other problems), we allow
- * operations to wait (but be interruptable with Ctrl-C)
+ * operations to wait (but be interruptible with Ctrl-C)
* forever as long as the drive is reporting that it is
* becoming ready. All other cases of not being ready are
* handled by the default handler.
diff --git a/sys/scsi/ch.c b/sys/scsi/ch.c
index 1d8781f3dcb..672bd9560b2 100644
--- a/sys/scsi/ch.c
+++ b/sys/scsi/ch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ch.c,v 1.67 2020/09/22 19:32:53 krw Exp $ */
+/* $OpenBSD: ch.c,v 1.68 2021/03/12 10:22:46 jsg Exp $ */
/* $NetBSD: ch.c,v 1.26 1997/02/21 22:06:52 thorpej Exp $ */
/*
@@ -774,7 +774,7 @@ ch_interpret_sense(struct scsi_xfer *xs)
* rescan their state (i.e. when the door got opened) and can
* take a long time for large units. Rather than having a
* massive timeout for all operations (which would cause other
- * problems) we allow changers to wait (but be interruptable
+ * problems) we allow changers to wait (but be interruptible
* with Ctrl-C) forever as long as they are reporting that they
* are becoming ready. all other cases are handled as per the
* default.
diff --git a/sys/scsi/mpath_sym.c b/sys/scsi/mpath_sym.c
index 11f5e224513..572b583e04a 100644
--- a/sys/scsi/mpath_sym.c
+++ b/sys/scsi/mpath_sym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_sym.c,v 1.25 2020/06/30 18:43:37 krw Exp $ */
+/* $OpenBSD: mpath_sym.c,v 1.26 2021/03/12 10:22:46 jsg Exp $ */
/*
* Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
@@ -143,7 +143,7 @@ sym_attach(struct device *parent, struct device *self, void *aux)
printf("\n");
- /* check if we're an assymetric access device */
+ /* check if we're an asymmetric access device */
for (i = 0; i < nitems(asym_devices); i++) {
s = &asym_devices[i];
diff --git a/sys/scsi/scsi_changer.h b/sys/scsi/scsi_changer.h
index 7ad2f1c9fef..2db9c974718 100644
--- a/sys/scsi/scsi_changer.h
+++ b/sys/scsi/scsi_changer.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_changer.h,v 1.8 2019/11/29 14:06:21 krw Exp $ */
+/* $OpenBSD: scsi_changer.h,v 1.9 2021/03/12 10:22:46 jsg Exp $ */
/* $NetBSD: scsi_changer.h,v 1.7 1996/04/03 00:25:48 thorpej Exp $ */
/*
@@ -273,7 +273,7 @@ struct read_element_status_descriptor {
/*
* Device capabilities page.
*
- * This page defines characteristics of the elemenet types in the
+ * This page defines characteristics of the element types in the
* medium changer device.
*
* Note in the definitions below, the following abbreviations are
@@ -333,7 +333,7 @@ struct page_device_capabilities {
};
/*
- * Medium changer elemement address assignment page.
+ * Medium changer element address assignment page.
*
* Some of these fields can be a little confusing, so an explanation
* is in order.
diff --git a/sys/scsi/scsi_disk.h b/sys/scsi/scsi_disk.h
index 31f2d1da08f..52e7f019894 100644
--- a/sys/scsi/scsi_disk.h
+++ b/sys/scsi/scsi_disk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_disk.h,v 1.41 2020/09/01 12:17:53 krw Exp $ */
+/* $OpenBSD: scsi_disk.h,v 1.42 2021/03/12 10:22:46 jsg Exp $ */
/* $NetBSD: scsi_disk.h,v 1.10 1996/07/05 16:19:05 christos Exp $ */
/*
@@ -113,7 +113,7 @@ struct scsi_initialization_pattern_descriptor {
};
/*
- * Defect desciptors. These are used as the defect lists in the FORMAT UNIT
+ * Defect descriptors. These are used as the defect lists in the FORMAT UNIT
* and READ DEFECT DATA commands, and as the translate page of the
* SEND DIAGNOSTIC and RECEIVE DIAGNOSTIC RESULTS commands.
*/
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index f30eea68334..2f73f79d3a3 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.185 2020/09/22 19:32:53 krw Exp $ */
+/* $OpenBSD: st.c,v 1.186 2021/03/12 10:22:46 jsg Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -182,7 +182,7 @@ struct st_softc {
short mt_resid; /* last (short) resid */
short mt_erreg; /* last error (sense key) seen */
- struct scsi_link *sc_link; /* our link to the adpter etc. */
+ struct scsi_link *sc_link; /* our link to the adapter etc. */
int blkmin; /* min blk size */
int blkmax; /* max blk size */
@@ -496,7 +496,7 @@ st_mount_tape(struct st_softc *st, int flags)
* Throw another dummy instruction to catch
* 'Unit attention' errors. Some drives appear to give
* these after doing a Load instruction.
- * (noteably some DAT drives)
+ * (notably some DAT drives)
*/
/* XXX */
scsi_test_unit_ready(link, TEST_READY_RETRIES, SCSI_SILENT);
@@ -1865,7 +1865,7 @@ st_interpret_sense(struct scsi_xfer *xs)
* drives report "Unit Becoming Ready" when loading media, etc.
* and can take a long time. Rather than having a massive timeout
* for all operations (which would cause other problems) we allow
- * operations to wait (but be interruptable with Ctrl-C) forever
+ * operations to wait (but be interruptible with Ctrl-C) forever
* as long as the drive is reporting that it is becoming ready.
* all other cases are handled as per the default.
*/