summaryrefslogtreecommitdiff
path: root/bin/ksh/expr.c
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-10-22 07:40:39 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-10-22 07:40:39 +0000
commit27cc88244fa45b7222a1a5534dbe70fb4ddaaa7d (patch)
tree11c982182a99eb20892550d2e80a9e5a6d39d1af /bin/ksh/expr.c
parentb59e7084478b6887ebfaacca8465cfabdb60a5c2 (diff)
typos from Jared Yanovich;
ok deraadt@
Diffstat (limited to 'bin/ksh/expr.c')
-rw-r--r--bin/ksh/expr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ksh/expr.c b/bin/ksh/expr.c
index 3ef1fc64130..e61372fb2e1 100644
--- a/bin/ksh/expr.c
+++ b/bin/ksh/expr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: expr.c,v 1.8 2003/02/28 09:45:09 jmc Exp $ */
+/* $OpenBSD: expr.c,v 1.9 2003/10/22 07:40:38 jmc Exp $ */
/*
* Korn expression evaluation
@@ -140,7 +140,7 @@ static struct tbl *tempvar ARGS((void));
static struct tbl *intvar ARGS((Expr_state *es, struct tbl *vp));
/*
- * parse and evalute expression
+ * parse and evaluate expression
*/
int
evaluate(expr, rval, error_ok)
@@ -159,7 +159,7 @@ evaluate(expr, rval, error_ok)
}
/*
- * parse and evalute expression, storing result in vp.
+ * parse and evaluate expression, storing result in vp.
*/
int
v_evaluate(vp, expr, error_ok)
@@ -208,7 +208,7 @@ v_evaluate(vp, expr, error_ok)
if (vp->flag & INTEGER)
setint_v(vp, v);
else
- /* can fail if readony */
+ /* can fail if readonly */
setstr(vp, str_val(v), error_ok);
quitenv();