summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-05-10 02:00:51 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-05-10 02:00:51 +0000
commite4dc71b9fd4a33715b07f881315d244cf5790dce (patch)
treeef3d541f654538fb428589bcde9e9b73c688157d /sbin
parent5323f19923d178a32640441002e11d28b3d960df (diff)
Various comment typos. 'wether' -> 'whether' (most popular), 'possiblity' ->
'possibility', 'optins' -> 'options', 'resposne' -> 'response', 'unecessary' -> 'unnecessary', 'desination' -> 'destination'. Collected from various misc@ and tech@ postings, many by Brad Tilley.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipsecctl/parse.y4
-rw-r--r--sbin/isakmpd/monitor.c4
-rw-r--r--sbin/ping6/ping6.c8
3 files changed, 8 insertions, 8 deletions
diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y
index b850f08eea2..405323c0967 100644
--- a/sbin/ipsecctl/parse.y
+++ b/sbin/ipsecctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.146 2009/08/04 15:05:50 jsing Exp $ */
+/* $OpenBSD: parse.y,v 1.147 2010/05/10 02:00:50 krw Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1801,7 +1801,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, "ifa_exists: socket");
bzero(&ifgr, sizeof(ifgr));
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c
index 8e1e105ebb0..83a372e226e 100644
--- a/sbin/isakmpd/monitor.c
+++ b/sbin/isakmpd/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.71 2007/08/11 00:20:30 hshoexer Exp $ */
+/* $OpenBSD: monitor.c,v 1.72 2010/05/10 02:00:50 krw Exp $ */
/*
* Copyright (c) 2003 Håkan Olsson. All rights reserved.
@@ -697,7 +697,7 @@ m_priv_local_sanitize_path(char *path, size_t pmax, int flags)
if (realpath(path, new_path) == NULL ||
realpath("/var/run", var_run) == NULL) {
/*
- * We could not decide wether the path is ok or not.
+ * We could not decide whether the path is ok or not.
* Indicate this be returning 2.
*/
if (errno == ENOENT)
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 14cb626a8bc..bede8d8a51a 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping6.c,v 1.78 2010/02/21 19:00:11 deraadt Exp $ */
+/* $OpenBSD: ping6.c,v 1.79 2010/05/10 02:00:50 krw Exp $ */
/* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */
/*
@@ -939,7 +939,7 @@ main(int argc, char *argv[])
/*
* receive control messages only. Process the
- * exceptions (currently the only possiblity is
+ * exceptions (currently the only possibility is
* a path MTU notification.)
*/
if ((mtu = get_pathmtu(&m)) > 0) {
@@ -1582,7 +1582,7 @@ pr_ip6opt(void *extbuf)
switch (type) {
/*
* Note that inet6_opt_next automatically skips any padding
- * optins.
+ * options.
*/
case IP6OPT_JUMBO:
offset = 0;
@@ -1780,7 +1780,7 @@ pr_nodeaddr(struct icmp6_nodeinfo *ni, int nilen)
/*
* In icmp-name-lookups 05 and later, TTL of each returned address
- * is contained in the resposne. We try to detect the version
+ * is contained in the response. We try to detect the version
* by the length of the data, but note that the detection algorithm
* is incomplete. We assume the latest draft by default.
*/