summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2022-12-26 20:06:44 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2022-12-26 20:06:44 +0000
commit36278d84690a01a6f846911e9de865d5a17bc500 (patch)
tree19594fbdde84fa0c86fa82fbc4f810f7700c63c4 /libexec
parent76f40211712d025ead56ebbf62a291610fc686c1 (diff)
spelling fixes; from paul tagliamonte
Diffstat (limited to 'libexec')
-rw-r--r--libexec/login_ldap/util.c4
-rw-r--r--libexec/login_token/tokendb.h4
-rw-r--r--libexec/rpc.rquotad/rquotad.c4
-rw-r--r--libexec/snmpd/snmpd_metrics/kroute.c4
-rw-r--r--libexec/spamd/sdl.c6
5 files changed, 11 insertions, 11 deletions
diff --git a/libexec/login_ldap/util.c b/libexec/login_ldap/util.c
index bc19a843126..dba514906f1 100644
--- a/libexec/login_ldap/util.c
+++ b/libexec/login_ldap/util.c
@@ -1,5 +1,5 @@
/*
- * $OpenBSD: util.c,v 1.3 2021/09/02 20:57:58 deraadt Exp $
+ * $OpenBSD: util.c,v 1.4 2022/12/26 20:06:43 jmc Exp $
* Copyright (c) 2002 Institute for Open Systems Technology Australia (IFOST)
* Copyright (c) 2007 Michael Erdely <merdely@openbsd.org>
* Copyright (c) 2019 Martijn van Duren <martijn@openbsd.org>
@@ -64,7 +64,7 @@ dlog(int d, char *fmt, ...)
va_list ap;
/*
- * if debugging is on, print everthing to stderr
+ * if debugging is on, print everything to stderr
* otherwise, syslog it if d = 0. messing with
* newlines means there wont be newlines in stuff
* that goes to syslog.
diff --git a/libexec/login_token/tokendb.h b/libexec/login_token/tokendb.h
index 5bdaa0235b0..4dac2aef0b0 100644
--- a/libexec/login_token/tokendb.h
+++ b/libexec/login_token/tokendb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tokendb.h,v 1.5 2013/12/03 01:29:00 deraadt Exp $ */
+/* $OpenBSD: tokendb.h,v 1.6 2022/12/26 20:06:43 jmc Exp $ */
/*-
* Copyright (c) 1995 Migration Associates Corp. All Rights Reserved
@@ -63,7 +63,7 @@ typedef struct {
#define TOKEN_DECMODE 0x1 /* allow decimal results */
#define TOKEN_HEXMODE 0x2 /* allow hex results */
#define TOKEN_PHONEMODE 0x4 /* allow phone book results */
-#define TOKEN_RIM 0x8 /* reduced imput mode */
+#define TOKEN_RIM 0x8 /* reduced input mode */
#define TOKEN_GROUP "_token" /* group that owns token database */
diff --git a/libexec/rpc.rquotad/rquotad.c b/libexec/rpc.rquotad/rquotad.c
index 50d1d5b25cd..ec367df5253 100644
--- a/libexec/rpc.rquotad/rquotad.c
+++ b/libexec/rpc.rquotad/rquotad.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rquotad.c,v 1.23 2019/06/28 13:32:53 deraadt Exp $ */
+/* $OpenBSD: rquotad.c,v 1.24 2022/12/26 20:06:43 jmc Exp $ */
/*
* by Manuel Bouyer (bouyer@ensta.fr). Public domain.
@@ -36,7 +36,7 @@ int getfsquota(long id, char *path, struct dqblk *dqblk);
int hasquota(struct fstab *fs, char **qfnamep);
/*
- * structure containing informations about ufs filesystems
+ * structure containing information about ufs filesystems
* initialised by initfs()
*/
struct fs_stat {
diff --git a/libexec/snmpd/snmpd_metrics/kroute.c b/libexec/snmpd/snmpd_metrics/kroute.c
index 098a5e00bbe..a42ff1030e8 100644
--- a/libexec/snmpd/snmpd_metrics/kroute.c
+++ b/libexec/snmpd/snmpd_metrics/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.1 2022/09/01 14:20:33 martijn Exp $ */
+/* $OpenBSD: kroute.c,v 1.2 2022/12/26 20:06:43 jmc Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org>
@@ -1010,7 +1010,7 @@ mask2prefixlen6(struct sockaddr_in6 *sa_in6)
u_int8_t *ap, *ep;
/*
- * sin6_len is the size of the sockaddr so substract the offset of
+ * sin6_len is the size of the sockaddr so subtract the offset of
* the possibly truncated sin6_addr struct.
*/
ap = (u_int8_t *)&sa_in6->sin6_addr;
diff --git a/libexec/spamd/sdl.c b/libexec/spamd/sdl.c
index 2593c86600a..1228791d1ef 100644
--- a/libexec/spamd/sdl.c
+++ b/libexec/spamd/sdl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdl.c,v 1.24 2017/10/18 17:31:01 millert Exp $ */
+/* $OpenBSD: sdl.c,v 1.25 2022/12/26 20:06:43 jmc Exp $ */
/*
* Copyright (c) 2003-2007 Bob Beck. All rights reserved.
@@ -288,7 +288,7 @@ sdl_del(char *sdname)
}
/*
- * Return 0 if the addresss a (with mask m) matches address key
+ * Return 0 if the address a (with mask m) matches address key
* otherwise return 1 if a > key or -1 if a < key. It is assumed
* that address a has been pre-masked out, we only need to mask key.
*/
@@ -311,7 +311,7 @@ match_addr_v4(const void *vkey, const void *ventry)
}
/*
- * Return 0 if the addresss a (with mask m) matches address key
+ * Return 0 if the address a (with mask m) matches address key
* otherwise return 1 if a > key or -1 if a < key. It is assumed
* that address a has been pre-masked out, we only need to mask key.
*/