summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-04-11 20:15:37 +0000
committeremaste <emaste@FreeBSD.org>2013-04-11 20:15:37 +0000
commit5f41a5dc88a9597fadcef346c2433abc00b1f650 (patch)
treed39be4fdd919ae7aaf61d63e58439375e6260d48 /lib
parent61d99a1d27b2992e4c249dee63834169d4b49c7c (diff)
downloadFreeBSD-src-5f41a5dc88a9597fadcef346c2433abc00b1f650.zip
FreeBSD-src-5f41a5dc88a9597fadcef346c2433abc00b1f650.tar.gz
Spelling correction
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/glob.c2
-rw-r--r--lib/libc/stdio/fgetln.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/glob.c b/lib/libc/gen/glob.c
index 832dc8d..95a3a06 100644
--- a/lib/libc/gen/glob.c
+++ b/lib/libc/gen/glob.c
@@ -738,7 +738,7 @@ glob3(Char *pathbuf, Char *pathend, Char *pathend_last,
/*
- * Extend the gl_pathv member of a glob_t structure to accomodate a new item,
+ * Extend the gl_pathv member of a glob_t structure to accommodate a new item,
* add the new item, and update gl_pathc.
*
* This assumes the BSD realloc, which only copies the block when its size
diff --git a/lib/libc/stdio/fgetln.c b/lib/libc/stdio/fgetln.c
index 7cb2854..0cd04b8 100644
--- a/lib/libc/stdio/fgetln.c
+++ b/lib/libc/stdio/fgetln.c
@@ -115,7 +115,7 @@ fgetln(FILE *fp, size_t *lenp)
* As a bonus, though, we can leave off the __SMOD.
*
* OPTIMISTIC is length that we (optimistically) expect will
- * accomodate the `rest' of the string, on each trip through the
+ * accommodate the `rest' of the string, on each trip through the
* loop below.
*/
#define OPTIMISTIC 80
OpenPOWER on IntegriCloud