summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index b85d10ad..f8fd0ed 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -1560,8 +1560,8 @@ STATIC void
synerror(const char *msg)
{
if (commandname)
- outfmt(&errout, "%s: %d: ", commandname, startlinno);
- outfmt(&errout, "Syntax error: %s\n", msg);
+ outfmt(out2, "%s: %d: ", commandname, startlinno);
+ outfmt(out2, "Syntax error: %s\n", msg);
error((char *)NULL);
}
OpenPOWER on IntegriCloud