summaryrefslogtreecommitdiff
path: root/usr.bin/sudo
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2007-11-27 16:22:15 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2007-11-27 16:22:15 +0000
commit245db5a41f9169790fdca278ce21fafcf86e0c88 (patch)
tree6781af9f23ceff505e40794a72fefc72863f57ce /usr.bin/sudo
parent9f520cd77cf5af190ae0c0fe2bd068102a1e3fb5 (diff)
typos; ok jmc@
sys/dev/pci/pciide.c from naddy@
Diffstat (limited to 'usr.bin/sudo')
-rw-r--r--usr.bin/sudo/ldap.c2
-rw-r--r--usr.bin/sudo/memrchr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sudo/ldap.c b/usr.bin/sudo/ldap.c
index fb7e9f203f4..454f5364692 100644
--- a/usr.bin/sudo/ldap.c
+++ b/usr.bin/sudo/ldap.c
@@ -666,7 +666,7 @@ char *
/* paste values together */
for (p = v; p && *p; p++) {
if (p != v && sep != NULL)
- ncat(&b, &sz, sep); /* append seperator */
+ ncat(&b, &sz, sep); /* append separator */
ncat(&b, &sz, *p); /* append value */
}
diff --git a/usr.bin/sudo/memrchr.c b/usr.bin/sudo/memrchr.c
index 9a5cfd0afda..ea71f5e5ad2 100644
--- a/usr.bin/sudo/memrchr.c
+++ b/usr.bin/sudo/memrchr.c
@@ -27,7 +27,7 @@ __unused static const char rcsid[] = "$Sudo: memrchr.c,v 1.1.2.2 2007/06/19 21:0
/*
* Reverse memchr()
- * Find the last occurence of 'c' in the buffer 's' of size 'n'.
+ * Find the last occurrence of 'c' in the buffer 's' of size 'n'.
*/
VOID *
memrchr(s, c, n)