Date: Thu, 14 Apr 2022 06:45:25 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 77f4623d41d4 - stable/12 - getenv(3): Fix two typos in source code comments Message-ID: <202204140645.23E6jPZl097260@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=77f4623d41d442de7f87c50c4a256f5dfcd39658 commit 77f4623d41d442de7f87c50c4a256f5dfcd39658 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-04-09 09:36:48 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-04-14 06:41:24 +0000 getenv(3): Fix two typos in source code comments - s/peform/perform/ (cherry picked from commit 8dcf5860b369559ba176f5dc0d7ed278f8aecf38) --- lib/libc/stdlib/getenv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/stdlib/getenv.c b/lib/libc/stdlib/getenv.c index 5d445e18d93b..4c71801b242f 100644 --- a/lib/libc/stdlib/getenv.c +++ b/lib/libc/stdlib/getenv.c @@ -122,7 +122,7 @@ __env_warnx(const char *msg, const char *name, size_t nameLen) /* * Inline strlen() for performance. Also, perform check for an equals sign. - * Cheaper here than peforming a strchr() later. + * Cheaper here than performing a strchr() later. */ static inline size_t __strleneq(const char *str) @@ -575,7 +575,7 @@ __merge_environ(void) /* - * The exposed setenv() that peforms a few tests before calling the function + * The exposed setenv() that performs a few tests before calling the function * (__setenv()) that does the actual work of inserting a variable into the * environment. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204140645.23E6jPZl097260>