summaryrefslogtreecommitdiffstats
path: root/bin/sh/var.c
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-05-09 21:29:16 +0000
committereadler <eadler@FreeBSD.org>2013-05-09 21:29:16 +0000
commit69c7d77aefa97e799e83748b4c56d43e900f2ea6 (patch)
treed437d2bcac6efbb7fa331e76980dfe61fe9ac09c /bin/sh/var.c
parentdcf83719521d9ab2ddf5a05929e1fefe098bf175 (diff)
downloadFreeBSD-src-69c7d77aefa97e799e83748b4c56d43e900f2ea6.zip
FreeBSD-src-69c7d77aefa97e799e83748b4c56d43e900f2ea6.tar.gz
Fix two typos
Reviewed by: jilles
Diffstat (limited to 'bin/sh/var.c')
-rw-r--r--bin/sh/var.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/var.c b/bin/sh/var.c
index 3f29a48..0de13fe 100644
--- a/bin/sh/var.c
+++ b/bin/sh/var.c
@@ -877,7 +877,7 @@ unsetvar(const char *s)
/*
- * Returns true if the two strings specify the same varable. The first
+ * Returns true if the two strings specify the same variable. The first
* variable name is terminated by '='; the second may be terminated by
* either '=' or '\0'.
*/
@@ -898,7 +898,7 @@ varequal(const char *p, const char *q)
* Search for a variable.
* 'name' may be terminated by '=' or a NUL.
* vppp is set to the pointer to vp, or the list head if vp isn't found
- * lenp is set to the number of charactets in 'name'
+ * lenp is set to the number of characters in 'name'
*/
static struct var *
OpenPOWER on IntegriCloud