Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2022 06:08:48 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: f7ed8a5a7f0b - stable/13 - getenv(3): Fix two typos in source code comments
Message-ID:  <202204140608.23E68m7N041259@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by gbe (doc committer):

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

commit f7ed8a5a7f0bf895281ccf71b5b0d560062f6790
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:03:09 +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?202204140608.23E68m7N041259>