summaryrefslogtreecommitdiff
path: root/sys/src/cmd/acid/expr.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@rei2.9hal>2012-02-11 13:05:34 +0100
committercinap_lenrek <cinap_lenrek@rei2.9hal>2012-02-11 13:05:34 +0100
commitf51aa49bb0d93e23cd290c8f6335ff0fa6e9ea73 (patch)
tree721999db7f31442350d2afcebf46f16f9c09520d /sys/src/cmd/acid/expr.c
parent784d811c3ac3f57cd78acf6757d65f61a0dcfddd (diff)
downloadplan9front-f51aa49bb0d93e23cd290c8f6335ff0fa6e9ea73.tar.xz
acid: fix format string bugs and comment line counting (from eriks patch/acid-nits patch)
Diffstat (limited to 'sys/src/cmd/acid/expr.c')
-rw-r--r--sys/src/cmd/acid/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/acid/expr.c b/sys/src/cmd/acid/expr.c
index b13c625db..4ba0943c2 100644
--- a/sys/src/cmd/acid/expr.c
+++ b/sys/src/cmd/acid/expr.c
@@ -537,7 +537,7 @@ omod(Node *n, Node *res)
res->op = OCONST;
res->type = TINT;
if(l.type != TINT || r.type != TINT)
- error("bad expr type %");
+ error("bad expr type %%");
res->ival = l.ival%r.ival;
}