summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-30 01:24:24 +0000
committerpfg <pfg@FreeBSD.org>2016-04-30 01:24:24 +0000
commit69669cbe99c92053594f595bbb8afd89c18a1892 (patch)
treeb4c646668481cdc1dd9daaea77bf963c2e2862a0 /lib/libc/posix1e
parent3cfc36525eddce27cb703ad496d3805e43dc51f9 (diff)
downloadFreeBSD-src-69669cbe99c92053594f595bbb8afd89c18a1892.zip
FreeBSD-src-69669cbe99c92053594f595bbb8afd89c18a1892.tar.gz
libc: spelling fixes.
Mostly on comments.
Diffstat (limited to 'lib/libc/posix1e')
-rw-r--r--lib/libc/posix1e/acl_delete_entry.c2
-rw-r--r--lib/libc/posix1e/acl_support.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/posix1e/acl_delete_entry.c b/lib/libc/posix1e/acl_delete_entry.c
index 09b4507..4564dde 100644
--- a/lib/libc/posix1e/acl_delete_entry.c
+++ b/lib/libc/posix1e/acl_delete_entry.c
@@ -111,7 +111,7 @@ acl_delete_entry(acl_t acl, acl_entry_t entry_d)
sizeof(struct acl_entry));
acl->ats_cur_entry = 0;
- /* Continue with the loop to remove all maching entries. */
+ /* Continue with the loop to remove all matching entries. */
found = 1;
} else
i++;
diff --git a/lib/libc/posix1e/acl_support.c b/lib/libc/posix1e/acl_support.c
index 9f5404c..00848cb 100644
--- a/lib/libc/posix1e/acl_support.c
+++ b/lib/libc/posix1e/acl_support.c
@@ -367,7 +367,7 @@ _posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id, acl_perm_t perm)
/*
* Convert "old" type - ACL_TYPE_{ACCESS,DEFAULT}_OLD - into its "new"
- * counterpart. It's neccessary for the old (pre-NFSv4 ACLs) binaries
+ * counterpart. It's necessary for the old (pre-NFSv4 ACLs) binaries
* to work with new libc and kernel. Fixing 'type' for old binaries with
* old libc and new kernel is being done by kern/vfs_acl.c:type_unold().
*/
OpenPOWER on IntegriCloud