summaryrefslogtreecommitdiffstats
path: root/libexec
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
parent9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5 (diff)
downloadFreeBSD-src-9a4b5f8cf662274f135ea2983ec548af165b6bf8.zip
FreeBSD-src-9a4b5f8cf662274f135ea2983ec548af165b6bf8.tar.gz
libexec: minor spelling fixes in comments.
No functional change.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c2
-rw-r--r--libexec/ftpd/popen.c2
-rw-r--r--libexec/rtld-elf/malloc.c2
-rw-r--r--libexec/rtld-elf/rtld.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index b3c78f6..b9c9069 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -2048,7 +2048,7 @@ pdata_err:
} while (0)
/*
- * Tranfer the contents of "instr" to "outstr" peer using the appropriate
+ * Transfer the contents of "instr" to "outstr" peer using the appropriate
* encapsulation of the data subject to Mode, Structure, and Type.
*
* NB: Form isn't handled.
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c
index 5620a79..2dad033 100644
--- a/libexec/ftpd/popen.c
+++ b/libexec/ftpd/popen.c
@@ -60,7 +60,7 @@ __FBSDID("$FreeBSD$");
#define MAXGLOBARGS 1000
/*
- * Special version of popen which avoids call to shell. This ensures noone
+ * Special version of popen which avoids call to shell. This ensures no one
* may create a pipe to a hidden program as a side effect of a list or dir
* command.
*/
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