summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-12-17 18:37:59 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-12-17 18:37:59 +0000
commit32bec975d0291823be95d170dab267533307e9f8 (patch)
tree284f5c6740cc6e52b4e20882e3585957ca7d4e9a
parent7e397d55a3a058bb1e468c0a0477a470408a6baf (diff)
s/failes/failed/g
-rw-r--r--libexec/ld.so/ldconfig/prebind.c4
-rw-r--r--libexec/ld.so/ldconfig/prebind_delete.c4
-rw-r--r--usr.sbin/npppd/common/addr_range.c12
3 files changed, 10 insertions, 10 deletions
diff --git a/libexec/ld.so/ldconfig/prebind.c b/libexec/ld.so/ldconfig/prebind.c
index 31e5fe6d412..d406cb51421 100644
--- a/libexec/ld.so/ldconfig/prebind.c
+++ b/libexec/ld.so/ldconfig/prebind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prebind.c,v 1.32 2015/12/12 20:09:28 mmcc Exp $ */
+/* $OpenBSD: prebind.c,v 1.33 2015/12/17 18:37:58 mmcc Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@dalerahn.com>
*
@@ -257,7 +257,7 @@ load_dir(char *name)
dirp = opendir(name);
- /* if dir failes to open, skip */
+ /* if dir failed to open, skip */
if (dirp == NULL)
return;
diff --git a/libexec/ld.so/ldconfig/prebind_delete.c b/libexec/ld.so/ldconfig/prebind_delete.c
index bbe5a9f3780..abd55371a29 100644
--- a/libexec/ld.so/ldconfig/prebind_delete.c
+++ b/libexec/ld.so/ldconfig/prebind_delete.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prebind_delete.c,v 1.13 2015/06/03 02:24:36 millert Exp $ */
+/* $OpenBSD: prebind_delete.c,v 1.14 2015/12/17 18:37:58 mmcc Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@dalerahn.com>
@@ -88,7 +88,7 @@ strip_dir(char *dir)
dirp = opendir(dir);
- /* if dir failes to open, skip */
+ /* if dir failed to open, skip */
if (dirp == NULL)
return 0;
diff --git a/usr.sbin/npppd/common/addr_range.c b/usr.sbin/npppd/common/addr_range.c
index 4eddf20c514..6157d57c3b0 100644
--- a/usr.sbin/npppd/common/addr_range.c
+++ b/usr.sbin/npppd/common/addr_range.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: addr_range.c,v 1.4 2015/08/20 22:46:32 deraadt Exp $ */
+/* $OpenBSD: addr_range.c,v 1.5 2015/12/17 18:37:58 mmcc Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
* All rights reserved.
@@ -56,7 +56,7 @@
* Author:
* Yasuoka Masahiko <yasuoka@iij.ad.jp>
*
- * $Id: addr_range.c,v 1.4 2015/08/20 22:46:32 deraadt Exp $
+ * $Id: addr_range.c,v 1.5 2015/12/17 18:37:58 mmcc Exp $
*/
#ifdef ADDR_RANGE_DEBUG
#define IIJDEBUG
@@ -228,7 +228,7 @@ in_addr_range_list_add(struct in_addr_range **list, const char *str)
if ((p0 = strdup(str)) == NULL) {
#ifdef IIJDEBUG
saved_errno = errno;
- log_printf(LOG_DL_1, "malloc() failes: %m");
+ log_printf(LOG_DL_1, "malloc() failed: %m");
errno = saved_errno;
#endif
return -1;
@@ -242,7 +242,7 @@ in_addr_range_list_add(struct in_addr_range **list, const char *str)
if (sscanf(p1, "%d", &mask) != 1) {
#ifdef IIJDEBUG
saved_errno = errno;
- log_printf(LOG_DL_1, "sscanf(%s) failes: %m",
+ log_printf(LOG_DL_1, "sscanf(%s) failed: %m",
p1);
errno = saved_errno;
#endif
@@ -269,7 +269,7 @@ in_addr_range_list_add(struct in_addr_range **list, const char *str)
errno = EINVAL;
#ifdef IIJDEBUG
saved_errno = errno;
- log_printf(LOG_DL_1, "inet_aton(%s) failes: %m", p0);
+ log_printf(LOG_DL_1, "inet_aton(%s) failed: %m", p0);
errno = saved_errno;
#endif
free(p0);
@@ -280,7 +280,7 @@ in_addr_range_list_add(struct in_addr_range **list, const char *str)
errno = EINVAL;
#ifdef IIJDEBUG
saved_errno = errno;
- log_printf(LOG_DL_1, "inet_aton(%s) failes: %m", p1);
+ log_printf(LOG_DL_1, "inet_aton(%s) failed: %m", p1);
errno = saved_errno;
#endif
free(p0);