git: 8dcf5860b369 - main - getenv(3): Fix two typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sat, 09 Apr 2022 09:37:21 UTC
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=8dcf5860b369559ba176f5dc0d7ed278f8aecf38

commit 8dcf5860b369559ba176f5dc0d7ed278f8aecf38
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-09 09:36:48 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 09:36:48 +0000

    getenv(3): Fix two typos in source code comments
    
    - s/peform/perform/
    
    MFC after:      3 days
---
 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 bf79cb6b0d79..ed0c9efcba6d 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.
  */