diff --git a/lib/libc/gen/glob.c b/lib/libc/gen/glob.c index 832dc8dffdb4..95a3a060b3bf 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 7cb2854d9f04..0cd04b8b6efc 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