aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getenv.c
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-04-09 09:36:48 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-04-14 06:41:24 +0000
commit77f4623d41d442de7f87c50c4a256f5dfcd39658 (patch)
tree4e3201f98dd09503aa0e74b5e0d32a5cf2542a04 /lib/libc/stdlib/getenv.c
parent0fa8d84bd948a5b02c1b00ad955ececa42a7d973 (diff)
Diffstat (limited to 'lib/libc/stdlib/getenv.c')
-rw-r--r--lib/libc/stdlib/getenv.c4
1 files 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.
*/