aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/eqn
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/eqn')
-rw-r--r--src/cmd/eqn/e.h2
-rw-r--r--src/cmd/eqn/input.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/eqn/e.h b/src/cmd/eqn/e.h
index 07dc4df6..f2a71849 100644
--- a/src/cmd/eqn/e.h
+++ b/src/cmd/eqn/e.h
@@ -20,7 +20,7 @@ extern int class[LAST][LAST];
#undef sprintf /* Snow Leopard */
-extern char errbuf[200];
+extern char errbuf[2000];
extern char *cmdname;
#define ERROR sprintf(errbuf,
#define FATAL ), error(1, errbuf)
diff --git a/src/cmd/eqn/input.c b/src/cmd/eqn/input.c
index a0c0c34e..b146171b 100644
--- a/src/cmd/eqn/input.c
+++ b/src/cmd/eqn/input.c
@@ -255,7 +255,7 @@ void yyerror(char *s)
error(0, s); /* temporary */
}
-char errbuf[200];
+char errbuf[2000];
void eprint(void) /* try to print context around error */
{