summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-01 19:39:23 +0000
committerpfg <pfg@FreeBSD.org>2016-05-01 19:39:23 +0000
commit9a4b5f8cf662274f135ea2983ec548af165b6bf8 (patch)
treeffa687a399a7a4e46e467d0252471688dc79ac9d /libexec/rtld-elf
parent9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5 (diff)
downloadFreeBSD-src-9a4b5f8cf662274f135ea2983ec548af165b6bf8.zip
FreeBSD-src-9a4b5f8cf662274f135ea2983ec548af165b6bf8.tar.gz
libexec: minor spelling fixes in comments.
No functional change.
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r--libexec/rtld-elf/malloc.c2
-rw-r--r--libexec/rtld-elf/rtld.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/malloc.c b/libexec/rtld-elf/malloc.c
index 0b3850b..a277d87 100644
--- a/libexec/rtld-elf/malloc.c
+++ b/libexec/rtld-elf/malloc.c
@@ -328,7 +328,7 @@ free(cp)
* old malloc man page, it realloc's an already freed block. Usually
* this is the last block it freed; occasionally it might be farther
* back. We have to search all the free lists for the block in order
- * to determine its bucket: 1st we make one pass thru the lists
+ * to determine its bucket: 1st we make one pass through the lists
* checking only the first block in each; if that fails we search
* ``realloc_srchlen'' blocks in each list for a match (the variable
* is extern so the caller can modify it). If that fails we just copy
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index ba8c4a0..b7811cb 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -822,7 +822,7 @@ origin_subst_one(Obj_Entry *obj, char *real, const char *kw,
kw_len = strlen(kw);
/*
- * First, count the number of the keyword occurences, to
+ * First, count the number of the keyword occurrences, to
* preallocate the final string.
*/
for (p = real, subst_count = 0;; p = p1 + kw_len, subst_count++) {
OpenPOWER on IntegriCloud