summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2009-12-24 10:06:36 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2009-12-24 10:06:36 +0000
commit153807970c24e7b0931c8074c0f569bf46bf0d17 (patch)
tree4f74151819df9f443088f2f76f27d905f76a2cd5
parent688da80de7de199a04f9d02645c5aa4d4d39c590 (diff)
spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.h
as neither arrayified not arrayfied exist -- sanctioned dictionaries like Merriam-Webster ones suggest a few alternatives (e.g., arrayed), however these made up words are easy to understand and we are not certain that current ones are not ok. ok jmc@
-rw-r--r--sbin/bioctl/bioctl.c4
-rw-r--r--sbin/disklabel/editor.c4
-rw-r--r--sbin/fdisk/cmd.c4
-rw-r--r--sbin/pfctl/parse.y4
-rw-r--r--sbin/pfctl/pfctl_osfp.c4
-rw-r--r--sbin/pfctl/pfctl_parser.c4
-rw-r--r--sbin/pflogd/privsep.c4
-rw-r--r--sbin/ping/ping.c4
-rw-r--r--sbin/ping6/ping6.c6
-rw-r--r--sbin/shutdown/shutdown.c4
10 files changed, 21 insertions, 21 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index 6010db506ec..83eb44bc925 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.86 2009/11/24 06:06:06 jmc Exp $ */
+/* $OpenBSD: bioctl.c,v 1.87 2009/12/24 10:06:35 sobrado Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -613,7 +613,7 @@ bio_setblink(char *name, char *arg, int blink)
if (rv == 0)
return;
- /* if the blink didnt work, try to find something that will */
+ /* if the blink didn't work, try to find something that will */
memset(&bi, 0, sizeof(bi));
bi.bi_cookie = bl.bl_cookie;
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index 2c2e62547f4..cdb47cb4ca4 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.224 2009/11/12 16:21:03 deraadt Exp $ */
+/* $OpenBSD: editor.c,v 1.225 2009/12/24 10:06:35 sobrado Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -715,7 +715,7 @@ editor_add(struct disklabel *lp, char *p)
/*
* Increase d_npartitions if necessary. Ensure all new partitions are
- * zero'ed to avoid inadvertant overlaps.
+ * zero'ed to avoid inadvertent overlaps.
*/
for(; lp->d_npartitions <= partno; lp->d_npartitions++)
memset(&lp->d_partitions[lp->d_npartitions], 0, sizeof(*pp));
diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c
index 61d725ad2be..3bde6abdae1 100644
--- a/sbin/fdisk/cmd.c
+++ b/sbin/fdisk/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.43 2009/02/08 18:03:18 krw Exp $ */
+/* $OpenBSD: cmd.c,v 1.44 2009/12/24 10:06:35 sobrado Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -294,7 +294,7 @@ Xselect(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset)
printf("New MBR at offset %d.\n", off);
}
- /* Recursion is beautifull! */
+ /* Recursion is beautiful! */
USER_modify(disk, tt, off, firstoff);
return (CMD_CONT);
}
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index ce11b94b623..6b25add1ff8 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.577 2009/12/24 04:24:19 dlg Exp $ */
+/* $OpenBSD: parse.y,v 1.578 2009/12/24 10:06:35 sobrado Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -548,7 +548,7 @@ include : INCLUDE STRING {
;
/*
- * apply to previouslys specified rule: must be careful to note
+ * apply to previously specified rule: must be careful to note
* what that is: pf or nat or binat or rdr
*/
fakeanchor : fakeanchor '\n'
diff --git a/sbin/pfctl/pfctl_osfp.c b/sbin/pfctl/pfctl_osfp.c
index 7018d6cd365..d7531e55f02 100644
--- a/sbin/pfctl/pfctl_osfp.c
+++ b/sbin/pfctl/pfctl_osfp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_osfp.c,v 1.15 2006/12/13 05:10:15 itojun Exp $ */
+/* $OpenBSD: pfctl_osfp.c,v 1.16 2009/12/24 10:06:35 sobrado Exp $ */
/*
* Copyright (c) 2003 Mike Frantzen <frantzen@openbsd.org>
@@ -976,7 +976,7 @@ get_tcpopts(const char *filename, int lineno, const char *tcpopts,
return (0);
}
-/* rip the next field ouf of a formatted config file line */
+/* rip the next field out of a formatted config file line */
char *
get_field(char **line, size_t *len, int *fieldlen)
{
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index 53c3daded6b..61e656d4a86 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.c,v 1.254 2009/12/24 04:24:19 dlg Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.255 2009/12/24 10:06:35 sobrado Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1249,7 +1249,7 @@ ifa_exists(const char *ifa_name)
if (iftab == NULL)
ifa_load();
- /* check wether this is a group */
+ /* check whether this is a group */
if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1)
err(1, "socket");
bzero(&ifgr, sizeof(ifgr));
diff --git a/sbin/pflogd/privsep.c b/sbin/pflogd/privsep.c
index 1139cb40f96..f45fde82929 100644
--- a/sbin/pflogd/privsep.c
+++ b/sbin/pflogd/privsep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.c,v 1.16 2006/10/25 20:55:04 moritz Exp $ */
+/* $OpenBSD: privsep.c,v 1.17 2009/12/24 10:06:35 sobrado Exp $ */
/*
* Copyright (c) 2003 Can Erkin Acar
@@ -200,7 +200,7 @@ move_log(const char *name)
return (1);
}
- /* lock destinanion */
+ /* lock destination */
fd = open(ren, O_CREAT|O_EXCL, 0);
if (fd >= 0) {
close(fd);
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
index 652412e65dc..eb32448ed35 100644
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping.c,v 1.85 2009/12/15 21:09:43 mpf Exp $ */
+/* $OpenBSD: ping.c,v 1.86 2009/12/24 10:06:35 sobrado Exp $ */
/* $NetBSD: ping.c,v 1.20 1995/08/11 22:37:58 cgd Exp $ */
/*
@@ -1085,7 +1085,7 @@ pr_icmph(struct icmp *icp)
(void)printf("Destination Net Unreachable for TOS\n");
break;
case ICMP_UNREACH_TOSHOST:
- (void)printf("Desination Host Unreachable for TOS\n");
+ (void)printf("Destination Host Unreachable for TOS\n");
break;
case ICMP_UNREACH_FILTER_PROHIB:
(void)printf("Route administratively prohibited\n");
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index a92913ac623..e8b71d8415c 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping6.c,v 1.76 2009/11/02 22:31:50 sobrado Exp $ */
+/* $OpenBSD: ping6.c,v 1.77 2009/12/24 10:06:35 sobrado Exp $ */
/* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */
/*
@@ -566,7 +566,7 @@ main(int argc, char *argv[])
}
/*
- * let the kerel pass extension headers of incoming packets,
+ * let the kernel pass extension headers of incoming packets,
* for privileged socket options
*/
if ((options & F_VERBOSE) != 0) {
@@ -664,7 +664,7 @@ main(int argc, char *argv[])
}
#endif /*ICMP6_FILTER*/
- /* let the kerel pass extension headers of incoming packets */
+ /* let the kernel pass extension headers of incoming packets */
if ((options & F_VERBOSE) != 0) {
int opton = 1;
diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c
index 2082cc72662..feec61c7361 100644
--- a/sbin/shutdown/shutdown.c
+++ b/sbin/shutdown/shutdown.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: shutdown.c,v 1.35 2009/10/27 23:59:34 deraadt Exp $ */
+/* $OpenBSD: shutdown.c,v 1.36 2009/12/24 10:06:35 sobrado Exp $ */
/* $NetBSD: shutdown.c,v 1.9 1995/03/18 15:01:09 cgd Exp $ */
/*
@@ -310,7 +310,7 @@ timewarn(int timeleft)
/*
* play some games, just in case wall doesn't come back
- * probably unecessary, given that wall is careful.
+ * probably unnecessary, given that wall is careful.
*/
if (!setjmp(alarmbuf)) {
(void)signal(SIGALRM, timeout);