aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 06f3cd23..029b84de 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -217,7 +217,7 @@ static struct query *hosttail; /* where to add new elements */
void yyerror (const char *s)
/* report a syntax error */
{
- fprintf(stderr,"%s line %d: %s at %s\n", rcfile, prc_lineno, s, yytext);
+ error_at_line( 0, 0, rcfile, prc_lineno, "%s at %s", s, yytext );
prc_errflag++;
}