summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-06-01 19:00:57 +0000
committerderaadt <deraadt@openbsd.org>2009-06-01 19:00:57 +0000
commit881b8d6dacb12366cd046345f07cfc88a0939c58 (patch)
tree76d9e9f32c90f28eec040994549fbd9d407d6194
parentWe are done with sup, other sucky tools are better now (diff)
downloadwireguard-openbsd-881b8d6dacb12366cd046345f07cfc88a0939c58.tar.xz
wireguard-openbsd-881b8d6dacb12366cd046345f07cfc88a0939c58.zip
please sthen the 80 character pedant
-rw-r--r--bin/ksh/expr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ksh/expr.c b/bin/ksh/expr.c
index 13474fda656..b89520de9f6 100644
--- a/bin/ksh/expr.c
+++ b/bin/ksh/expr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: expr.c,v 1.20 2009/06/01 18:20:33 deraadt Exp $ */
+/* $OpenBSD: expr.c,v 1.21 2009/06/01 19:00:57 deraadt Exp $ */
/*
* Korn expression evaluation
@@ -541,7 +541,8 @@ do_ppmm(Expr_state *es, enum token op, struct tbl *vasn, bool is_prefix)
static void
assign_check(Expr_state *es, enum token op, struct tbl *vasn)
{
- if (es->tok == END || (vasn->name[0] == '\0' && !(vasn->flag & EXPRLVALUE)))
+ if (es->tok == END ||
+ (vasn->name[0] == '\0' && !(vasn->flag & EXPRLVALUE)))
evalerr(es, ET_LVALUE, opinfo[(int) op].name);
else if (vasn->flag & RDONLY)
evalerr(es, ET_RDONLY, opinfo[(int) op].name);